update readme

This commit is contained in:
zhoushuaikang 2023-11-10 23:31:41 +08:00
parent 52b52abf05
commit 4467fb3ba2
2 changed files with 11 additions and 2 deletions

View File

@ -278,7 +278,11 @@ class ChatController(QWidget, Ui_Form):
print('emoji:', imgPath)
if not imgPath:
return False
image = Image.open(imgPath)
try:
image = Image.open(imgPath)
except Exception as e:
print(e)
return
imagePixmap = image.size # 宽高像素
# 设置最大宽度
if imagePixmap[0] < 150:

View File

@ -5,6 +5,9 @@
<a href="https://github.com/LC044/WeChatMsg/stargazers">
<img src="https://img.shields.io/github/stars/LC044/WeChatMsg.svg" />
</a>
<a href="https://github.com/LC044/WeChatMsg/issues">
<img alt="Issues" src="https://img.shields.io/github/issues/LC044/WeChatMsg?color=0088ff" />
</a>
<a href="./doc/readme.md">
<img src="https://img.shields.io/badge/文档-最新-brightgreen.svg" />
</a>
@ -101,4 +104,6 @@ python main.py
---
> 说明:该项目仅可用于交流学习,禁止任何非法用途,本人不承担任何责任🙄
> 说明:该项目仅可用于交流学习,禁止任何非法用途,本人不承担任何责任🙄
[![Star History Chart](https://api.star-history.com/svg?repos=LC044/WeChatMsg&type=Date)](https://star-history.com/?utm_source=bestxtools.com#LC044/WeChatMsg&Date)