mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-31 14:33:54 -04:00
...
This commit is contained in:
parent
13bce78437
commit
5bf5375f1c
@ -87,7 +87,7 @@ def get_metadata(stream):
|
|||||||
root = _get_fbroot(stream)
|
root = _get_fbroot(stream)
|
||||||
ctx = Context(root)
|
ctx = Context(root)
|
||||||
book_title = _parse_book_title(root, ctx)
|
book_title = _parse_book_title(root, ctx)
|
||||||
authors = _parse_authors(root, ctx)
|
authors = _parse_authors(root, ctx) or [_('Unknown')]
|
||||||
|
|
||||||
# fallback for book_title
|
# fallback for book_title
|
||||||
if book_title:
|
if book_title:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user