This commit is contained in:
Kovid Goyal 2017-02-22 06:49:01 +05:30
parent 01f0376ce8
commit 7bf918bbc5

View File

@ -102,7 +102,8 @@ class MOBIOutput(OutputFormatPlugin):
'devices. However, by changing this setting, you can tell ' 'devices. However, by changing this setting, you can tell '
'calibre to generate MOBI files that contain both MOBI 6 and ' 'calibre to generate MOBI files that contain both MOBI 6 and '
'the new KF8 format, or only the new KF8 format. KF8 has ' 'the new KF8 format, or only the new KF8 format. KF8 has '
'more features than MOBI 6, but only works with newer Kindles.')), 'more features than MOBI 6, but only works with newer Kindles. '
'Allowed values: {}').format('old, both, new')),
]) ])
@ -331,5 +332,3 @@ class AZW3Output(OutputFormatPlugin):
def specialize_css_for_output(self, log, opts, item, stylizer): def specialize_css_for_output(self, log, opts, item, stylizer):
from calibre.ebooks.mobi.writer8.cleanup import CSSCleanup from calibre.ebooks.mobi.writer8.cleanup import CSSCleanup
CSSCleanup(log, opts)(item, stylizer) CSSCleanup(log, opts)(item, stylizer)