From 2ea31cb6ba048383b09cab84a6f26c4a3e476a2d Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Mon, 16 Jul 2012 15:23:36 -0400 Subject: [PATCH] only strip whitespace from input --- config/sfa-config-tty | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/sfa-config-tty b/config/sfa-config-tty index 0e97d460..5ec73d88 100755 --- a/config/sfa-config-tty +++ b/config/sfa-config-tty @@ -335,7 +335,7 @@ def mainloop (cdef, cread, cwrite, default_config, site_config, consolidated_con global service while True: try: - answer = raw_input("Enter command (u for usual changes, w to save, ? for help) ").strip() + answer = raw_input("Enter command (u for usual changes, w to save, ? for help) ").strip(" ") except EOFError: answer ="" except KeyboardInterrupt: -- 2.43.0