Explorar o código

[scrobbles] Clean up todoist logs too

Colin Powell hai 2 semanas
pai
achega
b0b32821e3

+ 2 - 0
vrobbler/apps/scrobbles/management/commands/convert_task_log_data.py

@@ -3,6 +3,7 @@ from vrobbler.apps.tasks.utils import (
     convert_notes_to_dict,
     convert_old_boardgame_log_to_new,
     convert_old_orgmode_log_to_new,
+    convert_old_todoist_log_to_new,
 )
 
 
@@ -21,5 +22,6 @@ class Command(BaseCommand):
         else:
             print("No changes will be saved, use --commit to save")
         convert_old_orgmode_log_to_new(commit)
+        convert_old_todoist_log_to_new(commit)
         convert_notes_to_dict(commit)
         convert_old_boardgame_log_to_new(commit)