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