Bug fix on missing argument #65

This commit is contained in:
KnugiHK
2023-10-08 10:12:58 +08:00
parent 91ff882d15
commit 380289d1c1

View File

@@ -81,7 +81,7 @@ def extract_media(base_dir, identifiers, preserve_timestamp):
return False
print("Encryption detected on the backup!")
password = getpass.getpass("Enter the password for the backup:")
extract_encrypted(base_dir, password, identifiers)
extract_encrypted(base_dir, password, identifiers, preserve_timestamp)
else:
wts_db = os.path.join(base_dir, identifiers.MESSAGE[:2], identifiers.MESSAGE)
contact_db = os.path.join(base_dir, identifiers.CONTACT[:2], identifiers.CONTACT)