Lint: Fix unused-variable (F841)

This commit is contained in:
jkarasti 2024-11-25 19:11:25 +02:00 committed by Alexis Métaireau
parent 37ec91aae2
commit 767bfa7e48
No known key found for this signature in database
GPG key ID: C65C7A89A8FFC56E

View file

@ -71,7 +71,7 @@ class DangerzoneCore(object):
ocr_lang, ocr_lang,
stdout_callback, stdout_callback,
) )
except Exception as e: except Exception:
log.exception( log.exception(
f"Unexpected error occurred while converting '{document}'" f"Unexpected error occurred while converting '{document}'"
) )