浏览代码

Fixed bug in prompt when passing non-string value

Yentl Van Tendeloo 9 年之前
父节点
当前提交
f1324074f4
共有 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