mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +00:00
made code more readable
This commit is contained in:
parent
c0587fd9df
commit
17ffdd6fee
@ -216,7 +216,7 @@ def _apply_changes(request, old_status, new_status):
|
||||
messages.error(request, _('please give a password'))
|
||||
fail = True
|
||||
|
||||
if False == fail:
|
||||
if not fail:
|
||||
if new_status['dynamicdns_secret'] == '':
|
||||
new_status['dynamicdns_secret'] = old_status['dynamicdns_secret']
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user