Skip to content

Commit

Permalink
Code consolidation and bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
TheWatcherMultiversal authored Oct 28, 2023
1 parent f0a4c67 commit 896b3eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion command/pdfgui_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ def encrypt_decrypt(self, encrypt:bool):
self.inf_messages("Info", "Enter a password"); self.label_notice.setText(""); return

for pdf in pdfs:
pdf.replace(repeat_symbol, "")
pdf = pdf.replace(repeat_symbol, "")
if encrypt: status = PyPDF2utils.encrypt_pdf(pdf, self.lineEdit_password.text())
else: status = PyPDF2utils.decrypt_pdf(pdf, self.lineEdit_password.text())
if status is not True: self.inf_messages(*status)
Expand Down

0 comments on commit 896b3eb

Please sign in to comment.