mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-06 03:13:43 +02:00
...
This commit is contained in:
parent
07203f86bd
commit
b73be0f990
1 changed files with 3 additions and 0 deletions
|
|
@ -574,6 +574,9 @@ def verify_int(x):
|
|||
|
||||
if len(args) > 2:
|
||||
opf = args[2]
|
||||
if not os.path.exists(opf):
|
||||
prints(_('The OPF file %s does not exist')%opf, file=sys.stderr)
|
||||
return 1
|
||||
do_set_metadata(db, book_id, opf)
|
||||
|
||||
if opts.field:
|
||||
|
|
|
|||
Loading…
Reference in a new issue