From e8acf6da32bef5f7ae999adeaef4cff60e9ccdb2 Mon Sep 17 00:00:00 2001 From: KnugiHK <24708955+KnugiHK@users.noreply.github.com> Date: Sun, 11 May 2025 17:59:20 +0800 Subject: [PATCH] Fix key access in f-string for older Python --- Whatsapp_Chat_Exporter/android_crypt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Whatsapp_Chat_Exporter/android_crypt.py b/Whatsapp_Chat_Exporter/android_crypt.py index 68f0120..cf7148b 100644 --- a/Whatsapp_Chat_Exporter/android_crypt.py +++ b/Whatsapp_Chat_Exporter/android_crypt.py @@ -149,7 +149,7 @@ def _decrypt_crypt14(database: bytes, main_key: bytes, max_worker: int = 10) -> pass # Try next offset else: logger.debug( - f"Decryption successful with known offsets: IV {offsets["iv"]}, DB {offsets["db"]}{CLEAR_LINE}" + f"Decryption successful with known offsets: IV {offsets['iv']}, DB {offsets['db']}{CLEAR_LINE}" ) return decrypted_db # Successful decryption