@ -116,7 +116,11 @@ def pdf_unlock(pdf_file, overwrite=False):
return
# Skip file if it is not encrypted
if not isencrypted(pdf_file):
try:
# SKip file if pdf info cannot be read
except AttributeError:
# Get name of Ghostscript executable