Permalink
Browse files

Ask kindlegen to use slightly better compression

  • Loading branch information...
1 parent 782ab7b commit 918cca230a875fa5db96e2e37397330bdb89290b @mhl committed Feb 17, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 make-guardian-ebook.py
View
2 make-guardian-ebook.py
@@ -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"

0 comments on commit 918cca2

Please sign in to comment.