Fix console ui not liking paths with backslashes on windows (#1293)

This commit is contained in:
John Garland 2010-06-08 01:25:21 +10:00
parent 7aba1af0b2
commit 26460808e7
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
=== Deluge 1.3.0-rc2 (In Development) ===
==== ConsoleUI ====
* #1307: Fix not being able to add torrents
* #1293: Fix not being able to add paths that contain backslashes
==== Execute ====
* #1306: Fix always executing last event

View File

@ -109,7 +109,7 @@ class BaseCommand(object):
return self.__doc__
def split(self, text):
return shlex.split(text)
return shlex.split(text, posix=not deluge.common.windows_check())
def create_parser(self):
return OptionParser(prog = self.name,