Corrected the part for splitting a command

This commit is contained in:
KEI
2017-07-19 00:09:21 +09:00
parent fd20a3f832
commit 8a83b30e73
3 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ class Generic(object):
encoded = self.encode_utf8(command)
try:
splitted = shlex.split(encoded)
splitted = [s.replace("??", "\ ") for s in shlex.split(encoded.replace('\ ', '??'))]
except ValueError:
splitted = encoded.split(' ')