mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-20 23:43:15 +02:00
Fix pdfmanipulate split.
This commit is contained in:
parent
2df4d01923
commit
2cccabcccd
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue