mirror of
https://github.com/LC044/WeChatMsg
synced 2024-11-12 20:21:21 +08:00
修复昵称中含有\导致的导出失败问题#306
This commit is contained in:
parent
77b272f6af
commit
abefd3c8ea
@ -75,7 +75,7 @@ class Contact(Person):
|
||||
self.nickName = contact_info.get('NickName')
|
||||
if not self.remark:
|
||||
self.remark = self.nickName
|
||||
self.remark = re.sub(r'[\/:*?"<>|\s\.]', '_', self.remark)
|
||||
self.remark = re.sub(r'[\\/:*?"<>|\s\.]', '_', self.remark)
|
||||
self.smallHeadImgUrl = contact_info.get('smallHeadImgUrl')
|
||||
self.smallHeadImgBLOG = b''
|
||||
self.avatar = QPixmap()
|
||||
|
Loading…
Reference in New Issue
Block a user