This commit is contained in:
Kovid Goyal 2008-03-18 17:26:49 +00:00
parent 3ae6a3fb0c
commit 1c3a8e5571

View File

@ -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):