mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #6902 (searching for a title or part of a title)
This commit is contained in:
commit
901534a57b
@ -41,6 +41,10 @@ class Book(MetaInformation):
|
|||||||
self.authors = ['']
|
self.authors = ['']
|
||||||
else:
|
else:
|
||||||
self.authors = [authors]
|
self.authors = [authors]
|
||||||
|
|
||||||
|
if not title:
|
||||||
|
self.title = _('Unknown')
|
||||||
|
|
||||||
self.mime = mime
|
self.mime = mime
|
||||||
|
|
||||||
self.size = size # will be set later if None
|
self.size = size # will be set later if None
|
||||||
|
Loading…
x
Reference in New Issue
Block a user