Skip to content

Commit

Permalink
Lint: Fix unused-variable (F841)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkarasti committed Dec 2, 2024
1 parent 0525463 commit c794c6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dangerzone/logic.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def convert_doc(document: Document) -> None:
ocr_lang,
stdout_callback,
)
except Exception as e:
except Exception:
log.exception(
f"Unexpected error occurred while converting '{document}'"
)
Expand Down
2 changes: 1 addition & 1 deletion install/windows/build-wxs.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def build_components_xml(root, data):
Guid=subdata["component_guid"],
)
for filename in subdata["files"]:
file_el = ET.SubElement(
ET.SubElement(
component_el, "File", Source=filename, Id="file_" + uuid.uuid4().hex
)

Expand Down

0 comments on commit c794c6e

Please sign in to comment.