mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 03:24:54 +00:00
Fix console ui not liking paths with backslashes on windows (#1293)
This commit is contained in:
parent
7aba1af0b2
commit
26460808e7
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue