From ddf2ca5630400c27bb8bb5e6701feacc1b1e2613 Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Wed, 2 Oct 2024 15:40:16 -0400 Subject: [PATCH] [scrobbling] Actually fix typo in mopidy uri --- vrobbler/apps/scrobbles/scrobblers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vrobbler/apps/scrobbles/scrobblers.py b/vrobbler/apps/scrobbles/scrobblers.py index e34ba42..98e1d0f 100644 --- a/vrobbler/apps/scrobbles/scrobblers.py +++ b/vrobbler/apps/scrobbles/scrobblers.py @@ -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