fix: typo (#1860)
authorJc2k <john.carr@unrouted.co.uk>
Mon, 13 Jan 2025 12:07:20 +0000 (12:07 +0000)
committerGitHub <noreply@github.com>
Mon, 13 Jan 2025 12:07:20 +0000 (13:07 +0100)
music_assistant/providers/musicbrainz/__init__.py

index 021181e13ee70883ed131f0d159875c184ed379b..a7522994c4cd2b99a59d9315ad83110ff7b526c7 100644 (file)
@@ -70,7 +70,7 @@ def replace_hyphens(data: _T) -> _T:
         return cast(_T, new_values)
 
     if isinstance(data, list):
-        return cast(_T, [replace_hyphens(x) if isinstance(x, dict) else x for x in value])
+        return cast(_T, [replace_hyphens(x) if isinstance(x, dict) else x for x in data])
 
     return data