改善代码兼容性

This commit is contained in:
2019-04-07 16:01:27 +08:00
committed by JerryYan
parent 00190468a8
commit 5fa4ee929e
8 changed files with 56 additions and 39 deletions

View File

@ -2,9 +2,9 @@ from .User import User
class MemberMsg:
type:int = 0
content:str = ""
user:User = None
type = 0
content = ""
user = None
def __init__(self, json=None):
if json: