Fix bug that caused preferences->behavior to not show the output format set by the welcome wizard, and instead default to showing epub

This commit is contained in:
Kovid Goyal 2011-03-02 10:51:58 -07:00
parent 36fba3beac
commit 0a05ba617a

View File

@ -51,7 +51,7 @@ class Device(object):
@classmethod @classmethod
def set_output_format(cls): def set_output_format(cls):
if cls.output_format: if cls.output_format:
prefs.set('output_format', cls.output_format) prefs.set('output_format', cls.output_format.lower())
@classmethod @classmethod
def commit(cls): def commit(cls):