mirror of
https://github.com/LC044/WeChatMsg
synced 2024-11-14 05:21:41 +08:00
Update msg.py
This commit is contained in:
parent
8e20452bbb
commit
78b0c19b52
@ -156,7 +156,7 @@ class Msg:
|
||||
result = self.cursor.fetchall()
|
||||
finally:
|
||||
lock.release()
|
||||
return transferMessages(result)
|
||||
return result
|
||||
|
||||
def get_messages_by_keyword(self, username_, keyword, num=5, max_len=10):
|
||||
if not self.open_flag:
|
||||
@ -338,4 +338,4 @@ if __name__ == '__main__':
|
||||
if type_ == 49 and sub_type == 57:
|
||||
print(r)
|
||||
print(r[-1])
|
||||
break
|
||||
break
|
||||
|
Loading…
Reference in New Issue
Block a user