mirror of
https://github.com/zhaarey/AppleMusicDecrypt.git
synced 2025-10-23 15:11:06 +00:00
fix: open encoding
This commit is contained in:
@@ -130,7 +130,7 @@ class Device:
|
|||||||
True)
|
True)
|
||||||
if not storefront_id:
|
if not storefront_id:
|
||||||
raise FailedGetAuthParamException
|
raise FailedGetAuthParamException
|
||||||
with open("assets/storefront_ids.json") as f:
|
with open("assets/storefront_ids.json", encoding="utf-8") as f:
|
||||||
storefront_ids = json.load(f)
|
storefront_ids = json.load(f)
|
||||||
for storefront_mapping in storefront_ids:
|
for storefront_mapping in storefront_ids:
|
||||||
if storefront_mapping["storefrontId"] == int(storefront_id.split("-")[0]):
|
if storefront_mapping["storefrontId"] == int(storefront_id.split("-")[0]):
|
||||||
|
|||||||
Reference in New Issue
Block a user