mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
made code more readable
This commit is contained in:
1 parent
c0587fd9df
commit
17ffdd6fee
1 file changed
+1
-1
@@ -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']
|
||||
|
||||
|
||||
Reference in new issue
Block a user