diff --git a/src/calibre/devices/kobo/driver.py b/src/calibre/devices/kobo/driver.py index e675b94b6c..c8e2c77769 100644 --- a/src/calibre/devices/kobo/driver.py +++ b/src/calibre/devices/kobo/driver.py @@ -2347,10 +2347,10 @@ class KOBOTOUCH(KOBO): extra_css=self.extra_css or '', affect_hyphenation=bool(self.get_pref('affect_hyphenation')), disable_hyphenation=bool(self.get_pref('disable_hyphenation')), - hyphenation_min_chars=bool(self.get_pref('hyphenation_min_chars')), - hyphenation_min_chars_before=bool(self.get_pref('hyphenation_min_chars_before')), - hyphenation_min_chars_after=bool(self.get_pref('hyphenation_min_chars_after')), - hyphenation_limit_lines=bool(self.get_pref('hyphenation_limit_lines')), + hyphenation_min_chars=self.get_pref('hyphenation_min_chars'), + hyphenation_min_chars_before=self.get_pref('hyphenation_min_chars_before'), + hyphenation_min_chars_after=self.get_pref('hyphenation_min_chars_after'), + hyphenation_limit_lines=self.get_pref('hyphenation_limit_lines'), remove_at_page_rules=self.extra_css_options.get('has_atpage', False), remove_widows_and_orphans=self.extra_css_options.get('has_widows_orphans', False), )