diff --git a/app/DataBase/msg.py b/app/DataBase/msg.py index 091aafc..e28c99d 100644 --- a/app/DataBase/msg.py +++ b/app/DataBase/msg.py @@ -7,8 +7,6 @@ from pprint import pprint from app.log import logger -DB = None -cursor = None db_path = "./app/Database/Msg/MSG.db" lock = threading.Lock() diff --git a/app/components/CAvatar.py b/app/components/CAvatar.py index 4330cb5..71bb3a4 100644 --- a/app/components/CAvatar.py +++ b/app/components/CAvatar.py @@ -188,6 +188,7 @@ class CAvatar(QWidget): """设置url,可以是本地路径,也可以是网络地址 :param url: """ + return self.url = url self._get(url) diff --git a/readme.md b/readme.md index 252fcbb..c57b16b 100644 --- a/readme.md +++ b/readme.md @@ -288,6 +288,7 @@ python main.py # 🏆致谢 * PC微信解密工具:[https://github.com/xaoyaoo/PyWxDump](https://github.com/xaoyaoo/PyWxDump) +* PyQt组件库[https://github.com/PyQt5/CustomWidgets](https://github.com/PyQt5/CustomWidgets) * 我的得力助手:[ChatGPT](https://chat.openai.com/) ---