Skip to content

Commit

Permalink
Bug fix on ChatStore initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
KnugiHK committed Apr 8, 2023
1 parent 3e7d791 commit b371587
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Whatsapp_Chat_Exporter/extract.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def contacts(db, data):
c.execute("""SELECT jid, display_name FROM wa_contacts; """)
row = c.fetchone()
while row is not None:
data[row[0]] = {"name": row[1], "messages": {}}
data[row["jid"]] = ChatStore(row["display_name"])
row = c.fetchone()


Expand Down

0 comments on commit b371587

Please sign in to comment.