mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #322
This commit is contained in:
parent
2a52852208
commit
5d7ef03701
@ -185,7 +185,7 @@ class OPFReader(MetaInformation):
|
|||||||
scheme = item.get('scheme')
|
scheme = item.get('scheme')
|
||||||
if not scheme:
|
if not scheme:
|
||||||
scheme = item.get('opf:scheme')
|
scheme = item.get('opf:scheme')
|
||||||
if scheme.lower() == 'isbn':
|
if scheme is not None and scheme.lower() == 'isbn':
|
||||||
return item.string
|
return item.string
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user