From 2a6fb96c3dffca731edfee780d52e0e3a60c5ffc Mon Sep 17 00:00:00 2001 From: rlaphoenix Date: Fri, 1 Mar 2024 04:02:48 +0000 Subject: [PATCH] fix(Track): Don't use fallback values "Zzzz"/"ZZ" for track name --- devine/core/tracks/track.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/devine/core/tracks/track.py b/devine/core/tracks/track.py index 7025d9a..5dc2034 100644 --- a/devine/core/tracks/track.py +++ b/devine/core/tracks/track.py @@ -113,7 +113,9 @@ class Track: if (script or "").lower() == (territory or "").lower(): script = None territory = None - if territory == "US": + if script == "Zzzz": + script = None + if territory in ("ZZ", "US"): territory = None region = script