From 94b82a66321225a9db49bfa96eb5a805770c958d Mon Sep 17 00:00:00 2001 From: Alhaziel Date: Wed, 9 Oct 2019 20:42:02 +0200 Subject: [PATCH] Fix Default_channel_settings --- core/channeltools.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/channeltools.py b/core/channeltools.py index 9f0a4bed..359dd5c7 100644 --- a/core/channeltools.py +++ b/core/channeltools.py @@ -258,7 +258,7 @@ def get_default_settings(channel_name): else: control['label'] = config.get_localized_string(70727) + ' - ' + label.capitalize() - control['default'] = True if control['id'] not in default_off else False + control['default'] = control['default'] if control['id'] not in default_off else False channel_controls.append(control) # elif control['id'] == 'filter_languages': @@ -269,7 +269,7 @@ def get_default_settings(channel_name): elif control['id'] not in not_active and 'include_in_newest' not in control['id']: if type(control['default']) == bool: - control['default'] = True if control['id'] not in default_off else False + control['default'] = control['default'] if control['id'] not in default_off else False channel_controls.append(control) if renumber: