[scrobbling] Actually fix typo in mopidy uri
This commit is contained in:
@ -55,7 +55,7 @@ def mopidy_scrobble_media(post_data: dict, user_id: int) -> Scrobble:
|
||||
|
||||
log = {}
|
||||
try:
|
||||
log = {"mopidy_source": post_data.get("mopidy_uri").split(":")[0]}
|
||||
log = {"mopidy_source": post_data.get("mopidy_uri", "").split(":")[0]}
|
||||
except IndexError:
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user