mirror of
https://github.com/LC044/WeChatMsg
synced 2024-11-14 22:01:54 +08:00
修复查询数据库中结果不能编码到UTF-8的问题
This commit is contained in:
parent
4a357dca24
commit
4812956c05
@ -13,6 +13,7 @@ def merge_databases(source_paths, target_path):
|
||||
if not os.path.exists(source_path):
|
||||
break
|
||||
db = sqlite3.connect(source_path)
|
||||
db.text_factory = str
|
||||
cursor = db.cursor()
|
||||
sql = '''
|
||||
SELECT TalkerId,MsgsvrID,Type,SubType,IsSender,CreateTime,Sequence,StrTalker,StrContent,DisplayContent,BytesExtra
|
||||
|
Loading…
Reference in New Issue
Block a user