diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2014-05-22 12:53:22 +0000 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2014-05-22 12:53:22 +0000 |
commit | 32fc8eecfee4aae7ed53064844e5f90a0697e6e3 (patch) | |
tree | 49c62dbbfeeed601d50e391374f2b50dbcffa8bc /lorrycontroller | |
parent | a8d18ae31537abe658979fbdddadf34bd166f5e6 (diff) | |
parent | 54389156e38f2fa47a40538417537694c9e6e48c (diff) | |
download | lorry-controller-32fc8eecfee4aae7ed53064844e5f90a0697e6e3.tar.gz |
Merge branch 'master' of git://git.baserock.org/baserock/baserock/lorry-controller
Diffstat (limited to 'lorrycontroller')
-rw-r--r-- | lorrycontroller/readconf.py | 6 |
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']: |