mirror of
https://github.com/KnugiHK/WhatsApp-Chat-Exporter.git
synced 2026-04-23 06:21:37 +00:00
Fix logging for decrypting whatsapp database
This commit is contained in:
@@ -87,8 +87,8 @@ class BackupExtractor:
|
|||||||
check_same_thread=False,
|
check_same_thread=False,
|
||||||
decrypt_chunk_size=self.decrypt_chunk_size,
|
decrypt_chunk_size=self.decrypt_chunk_size,
|
||||||
)
|
)
|
||||||
logger.info(f"iOS backup decrypted successfully!{CLEAR_LINE}")
|
logger.info(f"iOS backup decrypted successfully{CLEAR_LINE}")
|
||||||
logger.info("Decrypting WhatsApp database...\n")
|
logger.info("Decrypting WhatsApp database...\r")
|
||||||
try:
|
try:
|
||||||
self.backup.extract_file(
|
self.backup.extract_file(
|
||||||
relative_path=RelativePath.WHATSAPP_MESSAGES,
|
relative_path=RelativePath.WHATSAPP_MESSAGES,
|
||||||
@@ -116,7 +116,7 @@ class BackupExtractor:
|
|||||||
)
|
)
|
||||||
exit(6)
|
exit(6)
|
||||||
else:
|
else:
|
||||||
logger.info(f"Done{CLEAR_LINE}")
|
logger.info(f"WhatsApp database decrypted successfully{CLEAR_LINE}")
|
||||||
|
|
||||||
def _extract_decrypted_files(self):
|
def _extract_decrypted_files(self):
|
||||||
"""Extract all WhatsApp files after decryption"""
|
"""Extract all WhatsApp files after decryption"""
|
||||||
|
|||||||
Reference in New Issue
Block a user