重构一些class,删除一些不必要的文件

This commit is contained in:
shuaikangzhou
2023-10-31 23:25:58 +08:00
parent 3fb4e8149d
commit 2472d3bce2
18 changed files with 83 additions and 7453 deletions

View File

@@ -101,9 +101,10 @@ def is_db_exist() -> bool:
cursor.execute(sql)
result = cursor.fetchone()
me = Me(result[2])
return True
except Exception as e:
return False
return True
return False
def init_database():
@@ -211,7 +212,7 @@ def avatar_md5(wxid):
def get_avator(wxid):
if wxid == None:
return
return './app/data/icons/default_avatar.svg'
wxid = str(wxid)
avatar = avatar_md5(wxid)
avatar_path = r"./app/data/avatar/"