mirror of
https://github.com/KnugiHK/WhatsApp-Chat-Exporter.git
synced 2026-04-22 22:14:38 +00:00
Bug fix
This commit is contained in:
@@ -132,7 +132,7 @@ def import_from_json(json_file, data):
|
|||||||
|
|
||||||
|
|
||||||
def get_file_name(contact: str, chat: ChatStore):
|
def get_file_name(contact: str, chat: ChatStore):
|
||||||
if "@" not in contact:
|
if "@" not in contact and contact not in ("000000000000000", "000000000000001"):
|
||||||
raise ValueError("Unexpected contact format: " + contact)
|
raise ValueError("Unexpected contact format: " + contact)
|
||||||
phone_number = contact.split('@')[0]
|
phone_number = contact.split('@')[0]
|
||||||
if "-" in contact:
|
if "-" in contact:
|
||||||
|
|||||||
Reference in New Issue
Block a user