mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 03:23:47 +02:00
This commit is contained in:
parent
3ae6a3fb0c
commit
1c3a8e5571
1 changed files with 1 additions and 1 deletions
|
|
@ -1825,7 +1825,7 @@ def try_opf(path, options, logger):
|
|||
return
|
||||
|
||||
dirpath = os.path.dirname(os.path.abspath(opf))
|
||||
opf = OPFReader(open(opf, 'rb'), dirpath)
|
||||
opf = OPFReader(open(opf, 'rb'), dirpath)
|
||||
try:
|
||||
title = opf.title
|
||||
if title and not getattr(options, 'title', None):
|
||||
|
|
|
|||
Loading…
Reference in a new issue