forked from Ponysearch/Ponysearch
[fix] allow none as category in preferences - #1086
This commit is contained in:
parent
5ceaf21399
commit
128eb76604
1 changed files with 1 additions and 1 deletions
|
@ -246,7 +246,7 @@ class Preferences(object):
|
|||
def __init__(self, themes, categories, engines, plugins):
|
||||
super(Preferences, self).__init__()
|
||||
|
||||
self.key_value_settings = {'categories': MultipleChoiceSetting(['general'], choices=categories),
|
||||
self.key_value_settings = {'categories': MultipleChoiceSetting(['general'], choices=categories + ['none']),
|
||||
'language': SearchLanguageSetting(settings['search']['language'],
|
||||
choices=LANGUAGE_CODES),
|
||||
'locale': EnumStringSetting(settings['ui']['default_locale'],
|
||||
|
|
Loading…
Reference in a new issue