Skip to content

Commit

Permalink
Merge pull request #1748 from emko-274/dev_fix
Browse files Browse the repository at this point in the history
log summary pdf stat
  • Loading branch information
ekong5 authored Aug 17, 2024
2 parents e0914a6 + 5ef9746 commit c87ad7d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/backend/expungeservice/form_filling.py
Original file line number Diff line number Diff line change
Expand Up @@ -457,8 +457,11 @@ def __init__(self, path: str):
self.writer = PdfWriter()
try:
self._pdf = PdfReader(path)
print(stat(path))
print("file opened by reader")
except Exception as e:
with open(path, 'wb') as f:
print(stat(path))
self.writer.write(f)
print(e)

Expand Down

0 comments on commit c87ad7d

Please sign in to comment.