fix(Track): Don't use fallback values "Zzzz"/"ZZ" for track name

This commit is contained in:
rlaphoenix 2024-03-01 04:02:48 +00:00
parent c14b37a696
commit 2a6fb96c3d
1 changed files with 3 additions and 1 deletions

View File

@ -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