diff options
Diffstat (limited to 'share/tools/web_config/webconfig.py')
-rwxr-xr-x | share/tools/web_config/webconfig.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/share/tools/web_config/webconfig.py b/share/tools/web_config/webconfig.py index c0f1aaf7..c0faddb6 100755 --- a/share/tools/web_config/webconfig.py +++ b/share/tools/web_config/webconfig.py @@ -258,6 +258,8 @@ while True: ready_read, _, _ = select.select([sys.stdin.fileno(), httpd.fileno()], [], []) if stdin_no in ready_read: print "Shutting down." + # Consume the newline so it doesn't get printed by the caller + sys.stdin.readline() break else: httpd.handle_request() |