Mercurial > kallithea
changeset 5678:75d89f00a4b5
admin: remove superfluous check in SettingsController
author | Søren Løvborg <sorenl@unity3d.com> |
---|---|
date | Tue, 05 Jan 2016 18:51:07 +0100 |
parents | 07f63824a52d |
children | a78503ebf512 |
files | kallithea/controllers/admin/settings.py |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/controllers/admin/settings.py Tue Jan 05 18:50:58 2016 +0100 +++ b/kallithea/controllers/admin/settings.py Tue Jan 05 18:51:07 2016 +0100 @@ -74,8 +74,7 @@ if k == 'web_push_ssl': v = str2bool(v) - if k.find('.') != -1: - k = k.replace('.', '_') + k = k.replace('.', '_') if each.ui_section in ['hooks', 'extensions']: v = each.ui_active