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:
Kovid Goyal 2011-10-20 13:59:25 +05:30
parent 5049c859fb
commit 96cf45469e

View File

@ -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: