mirror of
https://github.com/LC044/WeChatMsg
synced 2025-02-22 19:02:17 +08:00
修复了如果语音没被转过文字,那么这条语音显示不了的问题
This commit is contained in:
parent
62febf63c7
commit
0bd39d2344
@ -73,7 +73,7 @@ class MediaMsg:
|
||||
root = ET.fromstring(content)
|
||||
transtext = root.find(".//voicetrans").get("transtext")
|
||||
return transtext
|
||||
except ET.ParseError:
|
||||
except:
|
||||
return ""
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user