mirror of
https://github.com/LC044/WeChatMsg
synced 2025-02-23 03:22:17 +08:00
update version
This commit is contained in:
parent
b793a4424a
commit
1fa8241aba
@ -1,4 +1,4 @@
|
|||||||
version = '1.1.0'
|
version = '1.0.8'
|
||||||
contact = '701805520'
|
contact = '701805520'
|
||||||
github = 'https://github.com/LC044/WeChatMsg'
|
github = 'https://github.com/LC044/WeChatMsg'
|
||||||
website = 'https://memotrace.lc044.love/'
|
website = 'https://memotrace.lc044.love/'
|
||||||
|
@ -346,7 +346,7 @@ class MainWinController(QMainWindow, mainwindow.Ui_MainWindow, QCursorGif):
|
|||||||
img_bytes = misc_db.get_avatar_buffer(wxid)
|
img_bytes = misc_db.get_avatar_buffer(wxid)
|
||||||
except:
|
except:
|
||||||
logger.error(f'数据库错误:\n{traceback.format_exc()}')
|
logger.error(f'数据库错误:\n{traceback.format_exc()}')
|
||||||
QMessageBox.critical(self, "数据库错误", "请重启微信后重试")
|
QMessageBox.critical(self, "数据库错误", "请重启电脑后重试")
|
||||||
close_db()
|
close_db()
|
||||||
import shutil
|
import shutil
|
||||||
try:
|
try:
|
||||||
@ -369,6 +369,7 @@ class MainWinController(QMainWindow, mainwindow.Ui_MainWindow, QCursorGif):
|
|||||||
shutil.rmtree('./app/Database/Msg')
|
shutil.rmtree('./app/Database/Msg')
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
QMessageBox.critical(self, "数据库错误", "请重启电脑后重试")
|
||||||
return
|
return
|
||||||
me = Me()
|
me = Me()
|
||||||
me.set_avatar(img_bytes)
|
me.set_avatar(img_bytes)
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user