Module: deluge Branch: 1.3-stable Commit: 26460808e7c151a0e147db8cef3baddfde5c7feb
Author: John Garland <[email protected]> Date: Tue Jun 8 01:25:21 2010 +1000 Fix console ui not liking paths with backslashes on windows (#1293) --- ChangeLog | 1 + deluge/ui/console/main.py | 2 +- 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/ChangeLog b/ChangeLog index cb9e715..18cf4ad 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 diff --git a/deluge/ui/console/main.py b/deluge/ui/console/main.py index a0f0573..a4bb19f 100644 --- a/deluge/ui/console/main.py +++ b/deluge/ui/console/main.py @@ -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, -- You received this message because you are subscribed to the Google Groups "deluge-commit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/deluge-commit?hl=en.
