mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 02:53:38 +02:00
Fix regression that caused the filename to not be set as the title when reading metadata fails
This commit is contained in:
parent
fce4ab97b6
commit
1c9335aa5e
1 changed files with 1 additions and 1 deletions
|
|
@ -181,7 +181,7 @@ def swap(a):
|
|||
mi.isbn = si
|
||||
except (IndexError, ValueError):
|
||||
pass
|
||||
if not mi.title:
|
||||
if mi.is_null('title'):
|
||||
mi.title = name
|
||||
return mi
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue