mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-03-02 01:04:54 +01:00
pep8
This commit is contained in:
parent
f105981333
commit
3c8ce70263
1 changed files with 3 additions and 2 deletions
|
|
@ -27,7 +27,8 @@ def fcis(text_length):
|
|||
fcis += b'\x28\x00\x00\x00\x08\x00\x01\x00\x01\x00\x00\x00\x00'
|
||||
return fcis
|
||||
|
||||
class MOBIHeader(Header): # {{{
|
||||
class MOBIHeader(Header): # {{{
|
||||
|
||||
'''
|
||||
Represents the first record in a MOBI file, contains all the metadata about
|
||||
the file.
|
||||
|
|
@ -261,7 +262,7 @@ def build_records(self, writer, for_joint):
|
|||
self.records.append(fcis(self.text_length))
|
||||
|
||||
# EOF
|
||||
self.records.append(b'\xe9\x8e\r\n') # EOF record
|
||||
self.records.append(b'\xe9\x8e\r\n') # EOF record
|
||||
|
||||
# Miscellaneous header fields
|
||||
self.compression = writer.compress
|
||||
|
|
|
|||
Loading…
Reference in a new issue