mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-06 20:39:39 +01:00
MobiReader do not include file path in default metadata title.
This commit is contained in:
parent
eed1f69231
commit
632db425a2
1 changed files with 1 additions and 1 deletions
|
|
@ -652,7 +652,7 @@ def get_metadata(stream):
|
|||
from calibre.utils.logging import Log
|
||||
log = Log()
|
||||
|
||||
mi = MetaInformation(stream.name, [_('Unknown')])
|
||||
mi = MetaInformation(os.path.basename(stream.name), [_('Unknown')])
|
||||
try:
|
||||
mh = MetadataHeader(stream, log)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue