[tasks] Fix updating and stopping tasks from Emacs
This commit is contained in:
@ -50,7 +50,8 @@ class Task(LongPlayScrobblableMixin):
|
||||
url = ""
|
||||
scrobble = self.scrobbles(user_id).first()
|
||||
if scrobble:
|
||||
url = TODOIST_TASK_URL.format(id=scrobble.logdata.todoist_id)
|
||||
if scrobble.log.get("source") == "todoist":
|
||||
url = TODOIST_TASK_URL.format(id=scrobble.logdata.todist_id)
|
||||
return url
|
||||
|
||||
def subtitle_for_user(self, user_id):
|
||||
|
||||
Reference in New Issue
Block a user