diff options
Diffstat (limited to 'share/tools/web_config/webconfig.py')
-rwxr-xr-x | share/tools/web_config/webconfig.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/tools/web_config/webconfig.py b/share/tools/web_config/webconfig.py index 6b1d524f..8f591d17 100755 --- a/share/tools/web_config/webconfig.py +++ b/share/tools/web_config/webconfig.py @@ -816,8 +816,8 @@ class FishConfigHTTPRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler): else: output = ["Unable to delete history item"] elif p == '/set_prompt/': - what = postvars.get('what') - if self.do_set_prompt_function(what[0]): + what = postvars.get('fish_prompt') + if self.do_set_prompt_function(what): output = ["OK"] else: output = ["Unable to set prompt"] |