Explorar o código

Fixed bug in prompt when passing non-string value

Yentl Van Tendeloo %!s(int64=9) %!d(string=hai) anos
pai
achega
8946450f9a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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