From 08da65c49ed8673a48aca82b005f73ffeafc4f29 Mon Sep 17 00:00:00 2001 From: weiqun Date: Fri, 11 Oct 2024 23:07:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=94=B5=E4=BF=A1=E8=84=9A?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- chinatelecom.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chinatelecom.py b/chinatelecom.py index 01509ca..fd5d8ea 100644 --- a/chinatelecom.py +++ b/chinatelecom.py @@ -79,7 +79,7 @@ jp = {"9":{},"12":{},"13":{},"23":{}} try: - with open('电信金豆换话费.log') as fr: + with open('telecom_doudou.log') as fr: dhjl = json.load(fr) except: dhjl = {} @@ -276,7 +276,7 @@ def exchange(phone,s,title,aid, uid): send(uid, msg) if phone not in dhjl[yf][title]: dhjl[yf][title] += "#"+phone - with open('电信金豆换话费.log', 'w') as f: + with open('telecom_doudou.log', 'w') as f: json.dump(dhjl, f, ensure_ascii=False)