From b0202607f9e8890109b3281cc30a68c903a52a15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C=E8=A7=82=E5=AF=9F=E6=97=A5=E5=BF=97?= Date: Wed, 8 May 2024 11:17:43 +0800 Subject: [PATCH] fix: open encoding --- src/adb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/adb.py b/src/adb.py index d888997..ce983ac 100644 --- a/src/adb.py +++ b/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]):