소스 검색

Fixed bug in prompt when passing non-string value

Yentl Van Tendeloo 9 년 전
부모
커밋
8946450f9a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      scripts/prompt.py

+ 1 - 1
scripts/prompt.py

@@ -125,7 +125,7 @@ while 1:
     else:
         # Just send a normal request
         if command.startswith("\\"):
-            command = command
+            command = command[1:]
         else:
             command = '"%s"' % command