tupples all the way down
This commit is contained in:
parent
346bff0514
commit
6ddbb04acf
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ class Tasks(Thread):
|
|||
tasks = json.load(f)
|
||||
for task in tasks:
|
||||
if len(task) == 2:
|
||||
self.q.put(tuple(task))
|
||||
self.q.put(tuple(task[0], tuple(task[1])))
|
||||
logger.debug('loaded %s tasks', len(tasks))
|
||||
except:
|
||||
logger.debug('failed to load saved tasks', exc_info=True)
|
||||
|
|
Loading…
Reference in a new issue