mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
This commit is contained in:
parent
2a583c3a75
commit
97fdac5ef9
@ -106,5 +106,8 @@ def libprs_metadata(name):
|
|||||||
name = os.path.abspath(name)
|
name = os.path.abspath(name)
|
||||||
f = open(name, 'rb')
|
f = open(name, 'rb')
|
||||||
opf = OPFReader(f, os.path.dirname(name))
|
opf = OPFReader(f, os.path.dirname(name))
|
||||||
|
try:
|
||||||
if opf.libprs_id is not None:
|
if opf.libprs_id is not None:
|
||||||
return MetaInformation(opf, None)
|
return MetaInformation(opf, None)
|
||||||
|
except:
|
||||||
|
pass
|
Loading…
x
Reference in New Issue
Block a user