fix: open encoding

pull/8/head
世界观察日志 4 months ago committed by GitHub
parent 4586c7b4bb
commit b0202607f9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      src/adb.py

@ -130,7 +130,7 @@ class Device:
True)
if not storefront_id:
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)
for storefront_mapping in storefront_ids:
if storefront_mapping["storefrontId"] == int(storefront_id.split("-")[0]):

Loading…
Cancel
Save