Make the iOS contact database optional #76

This commit is contained in:
KnugiHK
2024-09-14 15:22:53 +08:00
parent df67a549c0
commit fe88f1b837

View File

@@ -96,8 +96,7 @@ def extract_media(base_dir, identifiers, decrypt_chunk_size):
else:
shutil.copyfile(wts_db, identifiers.MESSAGE)
if not os.path.isfile(contact_db):
print("Contact database not found.")
exit()
print("Contact database not found. Skipping...")
else:
shutil.copyfile(contact_db, identifiers.CONTACT)
_wts_id = identifiers.DOMAIN