diff --git a/PROJECT.org b/PROJECT.org index 043e821..fbb3f90 100644 --- a/PROJECT.org +++ b/PROJECT.org @@ -93,7 +93,7 @@ fetching and simple saving. :LOGBOOK: CLOCK: [2025-07-09 Wed 09:55]--[2025-07-09 Wed 10:15] => 0:20 :END: -* Backlog [2/17] :vrobbler:project:personal: +* Backlog [3/17] :vrobbler:project:personal: ** TODO [#C] Add sentiment parsing for Scrobbles with notes :vrobbler:project:scrobbles:sentiment: :PROPERTIES: :ID: 37781d6a-f3b0-48b2-bf98-33c2c791cf85 @@ -503,7 +503,7 @@ The graph would contain all Weigh-in scrobbles for that user, no matter which date is being viewed, and the highlighted value on the graph would be the date being viewed. -** TODO [#A] Orgmode tasks are not updated if in progress :tasks:orgmode:bug: +** DONE [#A] Orgmode tasks are not updated if in progress :tasks:orgmode:bug: :PROPERTIES: :ID: 7dcebb2c-7c4c-4ac5-bee6-c2e36c3811f9 :END: diff --git a/vrobbler/apps/tasks/webhooks.py b/vrobbler/apps/tasks/webhooks.py index d66cef5..98d5742 100644 --- a/vrobbler/apps/tasks/webhooks.py +++ b/vrobbler/apps/tasks/webhooks.py @@ -232,7 +232,7 @@ class EmacsWebhookView(APIView): status=status.HTTP_304_NOT_MODIFIED, ) - if task_in_progress: + if scrobble and scrobble.in_progress: emacs_scrobble_update_task( post_data.get("source_id"), post_data.get("notes") or [],