Forráskód Böngészése

Fixed bug in prompt when passing non-string value

Yentl Van Tendeloo 9 éve
szülő
commit
f1324074f4
1 módosított fájl, 1 hozzáadás és 1 törlés
  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