Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinThoma authored Dec 8, 2024
1 parent fc4783f commit 0e3b361
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdfly/cat.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def main(
if filepath not in in_fs:
in_fs[filepath] = open(filepath, "rb")

reader = PdfReader(in_fs[filename])
reader = PdfReader(in_fs[filepath])
if password is not None:
reader.decrypt(password)
num_pages = len(reader.pages)
Expand Down

0 comments on commit 0e3b361

Please sign in to comment.