diff --git a/app/lol/aram.py b/app/lol/aram.py index 40611e6..d8d91cb 100644 --- a/app/lol/aram.py +++ b/app/lol/aram.py @@ -56,6 +56,11 @@ def __needUpdate(self): except: return True + # 兼容老版本的 json + if AramBuff.data.get('version') == None: + print('hi') + return True + return AramBuff.getDataVersion() != lolVersion @classmethod