Bladeren bron

Fixed bug in prompt when passing non-string value

Yentl Van Tendeloo 9 jaren geleden
bovenliggende
commit
f1324074f4
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  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