summaryrefslogtreecommitdiff
path: root/lorrycontroller/readconf.py
diff options
context:
space:
mode:
Diffstat (limited to 'lorrycontroller/readconf.py')
-rw-r--r--lorrycontroller/readconf.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lorrycontroller/readconf.py b/lorrycontroller/readconf.py
index 4aa3161..a42458b 100644
--- a/lorrycontroller/readconf.py
+++ b/lorrycontroller/readconf.py
@@ -90,10 +90,10 @@ class ReadConfiguration(lorrycontroller.LorryControllerRoute):
statedb.remove_trove(trovehost)
statedb.remove_lorries_for_trovehost(trovehost)
- if 'redirect' in bottle.request.forms:
- bottle.redirect(bottle.request.forms.redirect)
+ if 'redirect' in bottle.request.forms:
+ bottle.redirect(bottle.request.forms.redirect)
- return 'Configuration has been updated.'
+ return 'Configuration has been updated.'
def get_confgit(self):
if self.app_settings['debug-real-confgit']: