quick fix
This commit is contained in:
parent
7f293508d8
commit
ec7c07d0a1
@ -1350,8 +1350,8 @@ def save_jokes_settings(input_settings):
|
||||
current_settings['speed2'] = input_settings['speed2'].lower()
|
||||
current_settings['animation'] = input_settings['animation'].lower()
|
||||
current_settings['title'] = input_settings['title']
|
||||
if input_settings['categories'] == '':
|
||||
current_settings['categories'] = 'Any'
|
||||
if not input_settings['categories']:
|
||||
current_settings['categories'] = ['Any']
|
||||
else:
|
||||
current_settings['categories'] = input_settings['categories']
|
||||
current_settings['blacklist'] = input_settings['blacklist']
|
||||
|
Loading…
Reference in New Issue
Block a user