mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -04:00
Fix pdfmanipulate split.
This commit is contained in:
parent
2df4d01923
commit
2cccabcccd
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user