Fix #2643 (AttributeError: 'BookHeader' object has no attribute 'title')

This commit is contained in:
Kovid Goyal 2009-06-17 12:23:52 -07:00
parent 9e1a17f5be
commit 4c586ff916

View File

@ -114,6 +114,7 @@ class BookHeader(object):
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