From 6c0a5c1c172df571ed6e3fe51e024af8e23b945b Mon Sep 17 00:00:00 2001 From: xtaodada Date: Sun, 4 Sep 2022 00:05:00 +0800 Subject: [PATCH] fix a bug --- defs/player.py | 1 + 1 file changed, 1 insertion(+) diff --git a/defs/player.py b/defs/player.py index 7bcf278..08162a0 100644 --- a/defs/player.py +++ b/defs/player.py @@ -25,6 +25,7 @@ class Player: def __init__(self, uid: str): self.uid = uid self.time = 0 + self.all_char = [] if not exists(LOCAL_DIR / "cache" / f"{uid}__data.json"): return with open(LOCAL_DIR / "cache" / f"{uid}__data.json", "r", encoding="utf-8") as fp: