Skip to content
Snippets Groups Projects
Commit e503523c authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Preferences: Don't use get_options()

This is in preparation of migrating the config module
parent 93d4e512
No related branches found
No related tags found
No related merge requests found
......@@ -161,7 +161,8 @@ def __init__(self):
# Group chat settings
threshold_model = self._ui.sync_threshold_combobox.get_model()
days = app.config.get_options('threshold_options', return_type=int)
options = app.config.get('threshold_options').split(',')
days = [int(option.strip()) for option in options]
for day in days:
if day == 0:
label = _('No threshold')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment