Skip to content

Commit

Permalink
fix #143
Browse files Browse the repository at this point in the history
  • Loading branch information
xaoyaoo committed Oct 7, 2024
1 parent 82bf28e commit c870b04
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pywxdump/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Author: xaoyaoo
# Date: 2023/10/14
# -------------------------------------------------------------------------------
__version__ = "3.1.35"
__version__ = "3.1.36"

import os, json

Expand Down
3 changes: 2 additions & 1 deletion pywxdump/api/export/exportCSV.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ def export_csv(wxid, outpath, db_config, my_wxid="我", page_size=5000):
users = {}
for i in range(0, chatCount, page_size):
start_index = i
data, users_t = db.get_msg_list(wxid, start_index, page_size)
data, users_t = db.get_msgs(wxid, start_index, page_size)
print(users, users_t)
users.update(users_t)

if len(data) == 0:
Expand Down

0 comments on commit c870b04

Please sign in to comment.