Permalink
Browse files

bug fix

  • Loading branch information...
binux
binux committed May 23, 2012
1 parent 85d287e commit 707fda6454cb80948ad0328d93f08bf1fb4668a8
Showing with 1 addition and 1 deletion.
  1. +1 −1 libs/db_task_manager.py
View
@@ -151,7 +151,7 @@ def _update_task_list(self, limit=10, st=0, ignore=False):
db_task.status = task['status']
db_task.process = task['process']
- db_task = session.add(db_task)
+ session.add(db_task)
if not self._update_file_list(db_task):
db_task.status = "failed"
db_task.invalid = True

0 comments on commit 707fda6

Please sign in to comment.