[tasks] Fix emacs scrobbling of tasks

This commit is contained in:
2025-06-27 11:32:09 -04:00
parent 36ceb4c7fe
commit 125da84f4e
3 changed files with 20 additions and 8 deletions

View File

@ -409,7 +409,7 @@ def todoist_scrobble_task(
user_id: int,
started: bool = False,
stopped: bool = False,
context_list: list = [],
context_list: list[str] = [],
) -> Scrobble:
title = get_title_from_labels(todoist_task.get("todoist_label_list", []), context_list)
task = Task.find_or_create(title)