fix 部分情况下视频不能正常显示
This commit is contained in:
parent
ab6925ce68
commit
7732ccca5d
@ -193,7 +193,7 @@ def get_msg_list(MSG_db_path, selected_talker="", start_index=0, page_size=500):
|
|||||||
else:
|
else:
|
||||||
content["src"] = ""
|
content["src"] = ""
|
||||||
content["msg"] = "图片"
|
content["msg"] = "图片"
|
||||||
elif type_id == (34, 0):
|
elif type_id == (34, 0): # 语音
|
||||||
tmp_c = parse_xml_string(StrContent)
|
tmp_c = parse_xml_string(StrContent)
|
||||||
voicelength = tmp_c.get("voicemsg", {}).get("voicelength", "")
|
voicelength = tmp_c.get("voicemsg", {}).get("voicelength", "")
|
||||||
transtext = tmp_c.get("voicetrans", {}).get("transtext", "")
|
transtext = tmp_c.get("voicetrans", {}).get("transtext", "")
|
||||||
|
Loading…
Reference in New Issue
Block a user