Fix 'dict' object has no attribute 'strftime' (#13215)
* Fix 'dict' object has no attribute 'strftime' * Clear existing list instead of new objectpull/13252/head
parent
5e675677ad
commit
a86bf81768
|
@ -496,6 +496,10 @@ class TodoistProjectData(object):
|
|||
# We had no valid tasks
|
||||
return True
|
||||
|
||||
# Make sure the task collection is reset to prevent an
|
||||
# infinite collection repeating the same tasks
|
||||
self.all_project_tasks.clear()
|
||||
|
||||
# Organize the best tasks (so users can see all the tasks
|
||||
# they have, organized)
|
||||
while project_tasks:
|
||||
|
|
Loading…
Reference in New Issue