fix a bug
This commit is contained in:
parent
fc253c8422
commit
6c0a5c1c17
@ -25,6 +25,7 @@ class Player:
|
|||||||
def __init__(self, uid: str):
|
def __init__(self, uid: str):
|
||||||
self.uid = uid
|
self.uid = uid
|
||||||
self.time = 0
|
self.time = 0
|
||||||
|
self.all_char = []
|
||||||
if not exists(LOCAL_DIR / "cache" / f"{uid}__data.json"):
|
if not exists(LOCAL_DIR / "cache" / f"{uid}__data.json"):
|
||||||
return
|
return
|
||||||
with open(LOCAL_DIR / "cache" / f"{uid}__data.json", "r", encoding="utf-8") as fp:
|
with open(LOCAL_DIR / "cache" / f"{uid}__data.json", "r", encoding="utf-8") as fp:
|
||||||
|
Loading…
Reference in New Issue
Block a user