mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-08 09:28:41 +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) ===
|
=== Deluge 1.3.0-rc2 (In Development) ===
|
||||||
==== ConsoleUI ====
|
==== ConsoleUI ====
|
||||||
* #1307: Fix not being able to add torrents
|
* #1307: Fix not being able to add torrents
|
||||||
|
* #1293: Fix not being able to add paths that contain backslashes
|
||||||
|
|
||||||
==== Execute ====
|
==== Execute ====
|
||||||
* #1306: Fix always executing last event
|
* #1306: Fix always executing last event
|
||||||
|
|
|
@ -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…
Add table
Add a link
Reference in a new issue