mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-06-07 22:45:32 -04:00
Fix #322
This commit is contained in:
@@ -185,7 +185,7 @@ class OPFReader(MetaInformation):
|
||||
scheme = item.get('scheme')
|
||||
if not scheme:
|
||||
scheme = item.get('opf:scheme')
|
||||
if scheme.lower() == 'isbn':
|
||||
if scheme is not None and scheme.lower() == 'isbn':
|
||||
return item.string
|
||||
return None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user