Skip to content

Commit

Permalink
Fix destination file name
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Jul 21, 2022
1 parent 862dd6d commit 598568c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scan_to_paperless/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -1202,8 +1202,8 @@ def process_code() -> None:
margin_top=float(os.environ.get("SCAN_CODES_MARGIN_TOP", 0)),
margin_left=float(os.environ.get("SCAN_CODES_MARGIN_LEFT", 2)),
)
except Exception as e:
LOG_.exception(f"Error while processing {pdf_filename}: {e}")
except Exception as exception:
LOG_.exception("Error while processing %s: %s", pdf_filename, str(exception))


def is_sources_present(images: List[str], root_folder: str) -> bool:
Expand Down

0 comments on commit 598568c

Please # to comment.