This commit is contained in:
Kovid Goyal 2011-02-15 11:37:41 -07:00
parent 350e93f096
commit 2a05a3b789
2 changed files with 631 additions and 517 deletions

View File

@ -25,7 +25,7 @@ class APNXBuilder(object):
with open(mobi_file_path, 'rb') as mf: with open(mobi_file_path, 'rb') as mf:
ident = PdbHeaderReader(mf).identity() ident = PdbHeaderReader(mf).identity()
if ident != 'BOOKMOBI': if ident != 'BOOKMOBI':
raise Exception(_('Not a valid MOBI file. Reports identity of %s' % ident)) raise Exception(_('Not a valid MOBI file. Reports identity of %s') % ident)
# Get the pages depending on the chosen parser # Get the pages depending on the chosen parser
pages = [] pages = []

File diff suppressed because it is too large Load Diff