Browse Source

fix backslash escaping on print

ijon 5 years ago
parent
commit
42759b9515
1 changed files with 1 additions and 1 deletions
  1. 1 1
      inc/basefuncs.py

+ 1 - 1
inc/basefuncs.py

@@ -8,7 +8,7 @@ def printCommand(command):
 
     for i in command:
         if " " in i or "\t" in i:
-            newCommand.append("\"" + i.replace("\\\"", "\\\\\"").replace("\"", "\\\"") + "\"")
+            newCommand.append("\"" + i.replace("\\", "\\\\").replace("\"", "\\\"") + "\"")
         else:
             newCommand.append(i)