mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
MOBI metadata: When reading metadata from MOBI files only use the title in the PDB header if there is no long title in the EXTH header, as the book title. Fixes #875243 (Private bug)
This commit is contained in:
parent
5049c859fb
commit
96cf45469e
@ -66,8 +66,6 @@ class EXTHHeader(object):
|
||||
# last update time
|
||||
pass
|
||||
elif id == 503: # Long title
|
||||
if not title or title == _('Unknown') or \
|
||||
'USER_CONTENT' in title or title.startswith('dtp_'):
|
||||
try:
|
||||
title = content.decode(codec)
|
||||
except:
|
||||
|
Loading…
x
Reference in New Issue
Block a user