mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-25 18:43:22 +02:00
Fix #2643 (AttributeError: 'BookHeader' object has no attribute 'title')
This commit is contained in:
parent
9e1a17f5be
commit
4c586ff916
1 changed files with 1 additions and 0 deletions
|
|
@ -114,6 +114,7 @@ def __init__(self, raw, ident, user_encoding, log):
|
|||
if len(raw) <= 16:
|
||||
self.codec = 'cp1251'
|
||||
self.extra_flags = 0
|
||||
self.title = _('Unknown')
|
||||
self.language = 'ENGLISH'
|
||||
self.sublanguage = 'NEUTRAL'
|
||||
self.exth_flag, self.exth = 0, None
|
||||
|
|
|
|||
Loading…
Reference in a new issue