Fix key access in f-string for older Python

This commit is contained in:
KnugiHK
2025-05-11 17:59:20 +08:00
parent 667c005a67
commit e8acf6da32

View File

@@ -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