Suggested change as per comment for refactoring the checks for unlocking the doc.
I didn't have any PDFs that were locked with empty or even with provided passwords, maybe we should think of adding tests to the project, just to be safe for these use cases
Suggested change as per comment for refactoring the checks for unlocking the doc. I didn't have any PDFs that were locked with empty or even with provided passwords, maybe we should think of adding tests to the project, just to be safe for these use cases