This commit is contained in:
Kovid Goyal 2008-02-15 05:48:09 +00:00
parent 2a583c3a75
commit 97fdac5ef9

View File

@ -106,5 +106,8 @@ def libprs_metadata(name):
name = os.path.abspath(name)
f = open(name, 'rb')
opf = OPFReader(f, os.path.dirname(name))
try:
if opf.libprs_id is not None:
return MetaInformation(opf, None)
except:
pass