Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Ask kindlegen to use slightly better compression

  • Loading branch information...
commit 918cca230a875fa5db96e2e37397330bdb89290b 1 parent 782ab7b
Mark Longair authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  make-guardian-ebook.py
2  make-guardian-ebook.py
View
@@ -524,7 +524,7 @@ def extension_to_media_type(extension):
with open("/dev/null","w") as null:
try:
- call(['kindlegen','-o',mobi_filename,opf_filename])
+ call(['kindlegen','-c2','-o',mobi_filename,opf_filename])
except OSError, e:
if e.errno == errno.ENOENT:
print "Warning: kindlegen was not on your path; not generating .mobi version"
Please sign in to comment.
Something went wrong with that request. Please try again.