From 3c8ce70263ce3157467ea754c4e4dfc9df1e5e43 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 29 Mar 2014 11:23:21 +0530 Subject: [PATCH] pep8 --- src/calibre/ebooks/mobi/writer8/mobi.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/calibre/ebooks/mobi/writer8/mobi.py b/src/calibre/ebooks/mobi/writer8/mobi.py index 769b301a50..abd6573931 100644 --- a/src/calibre/ebooks/mobi/writer8/mobi.py +++ b/src/calibre/ebooks/mobi/writer8/mobi.py @@ -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 @@ class KF8Book(object): 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