diff options
Diffstat (limited to 'lorrycontroller/statedb.py')
-rw-r--r-- | lorrycontroller/statedb.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lorrycontroller/statedb.py b/lorrycontroller/statedb.py index b49da60..1f45593 100644 --- a/lorrycontroller/statedb.py +++ b/lorrycontroller/statedb.py @@ -314,10 +314,10 @@ class StateDB(object): c = self.get_cursor() c.execute( 'INSERT INTO lorries ' - '(path, text, from_trovehost, last_run, interval, ' + '(path, text, from_trovehost, from_path, last_run, interval, ' 'running_job, kill_job) ' - 'VALUES (?, ?, ?, ?, ?, ?, ?)', - (path, text, from_trovehost, 0, interval, None, 0)) + 'VALUES (?, ?, ?, ?, ?, ?, ?, ?)', + (path, text, from_trovehost, from_path, 0, interval, None, 0)) else: c = self.get_cursor() c.execute( |