diff options
author | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2014-05-22 10:18:27 +0100 |
---|---|---|
committer | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2014-05-22 10:18:27 +0100 |
commit | 54389156e38f2fa47a40538417537694c9e6e48c (patch) | |
tree | a791978cb342a67b38dfd6e790d315f9762245b8 | |
parent | 3165926a539379901c5735ccfec84f5d0c389965 (diff) | |
parent | 160aa853433be50e3e986442df4590a144e8dbd2 (diff) | |
download | lorry-controller-54389156e38f2fa47a40538417537694c9e6e48c.tar.gz |
Merge branch 'baserock/pedroalvarez/fix-readconf'
Reviewed-by: Sam Thursfield
Reviewed-by: Adam Coldrick
-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']: |