Fix 'dict' object has no attribute 'strftime' (#13215)
* Fix 'dict' object has no attribute 'strftime' * Clear existing list instead of new object
This commit is contained in:
parent
5e675677ad
commit
a86bf81768
1 changed files with 4 additions and 0 deletions
|
@ -496,6 +496,10 @@ class TodoistProjectData(object):
|
||||||
# We had no valid tasks
|
# We had no valid tasks
|
||||||
return True
|
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
|
# Organize the best tasks (so users can see all the tasks
|
||||||
# they have, organized)
|
# they have, organized)
|
||||||
while project_tasks:
|
while project_tasks:
|
||||||
|
|
Loading…
Add table
Reference in a new issue