mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 02:34:06 -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
|
print 'Error: Could not read file `%s`.' % pdf
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
if is_encrypted(args[0]):
|
if is_encrypted(pdf):
|
||||||
print 'Error: file `%s` is encrypted.' % args[0]
|
print 'Error: file `%s` is encrypted.' % args[0]
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user