Fix console ui not liking paths with backslashes on windows (#1293)
This commit is contained in:
parent
cfe547b31a
commit
4b1d60c727
@ -109,7 +109,7 @@ class BaseCommand(object):
|
|||||||
return self.__doc__
|
return self.__doc__
|
||||||
|
|
||||||
def split(self, text):
|
def split(self, text):
|
||||||
return shlex.split(text)
|
return shlex.split(text, posix=not deluge.common.windows_check())
|
||||||
|
|
||||||
def create_parser(self):
|
def create_parser(self):
|
||||||
return OptionParser(prog = self.name,
|
return OptionParser(prog = self.name,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user