mirror of
https://github.com/LC044/WeChatMsg
synced 2025-02-23 03:22:17 +08:00
Update mainview.py
This commit is contained in:
parent
a4ec235450
commit
f7205674ec
@ -172,6 +172,7 @@ class MainWinController(QMainWindow, mainwindow.Ui_MainWindow):
|
|||||||
try:
|
try:
|
||||||
img_bytes = misc_db.get_avatar_buffer(wxid)
|
img_bytes = misc_db.get_avatar_buffer(wxid)
|
||||||
except :
|
except :
|
||||||
|
close_db()
|
||||||
QMessageBox.critical(self, "数据库错误", "请重启微信后重试")
|
QMessageBox.critical(self, "数据库错误", "请重启微信后重试")
|
||||||
import shutil
|
import shutil
|
||||||
shutil.rmtree('./app/Database/Msg')
|
shutil.rmtree('./app/Database/Msg')
|
||||||
|
Loading…
Reference in New Issue
Block a user