Update __init__.py

This commit is contained in:
碧舞すみほ
2023-10-28 22:22:44 +09:00
committed by GitHub
parent c8f9026970
commit 2bef6c4a5d

View File

@@ -321,7 +321,7 @@ class CdnFeedHelper:
@staticmethod
def get_url(resp: StorageResolve.StorageResolveResponse) -> str:
selected_url = random.choice(resp.cdnurl)
while not "audio4-gm-fb" in selected_url:
while "audio4-gm-fb" in selected_url:
selected_url = random.choice(resp.cdnurl)
return selected_url