Fix pdfmanipulate split.

This commit is contained in:
John Schember 2009-05-09 14:51:48 -04:00
parent 2df4d01923
commit 2cccabcccd

View File

@ -188,7 +188,7 @@ def main(args=sys.argv, name=''):
print 'Error: Could not read file `%s`.' % pdf
return 1
if is_encrypted(args[0]):
if is_encrypted(pdf):
print 'Error: file `%s` is encrypted.' % args[0]
return 1