Author: andar
Revision: 5825
Log:
Fix path errors when adding torrents externally in Windows
Diff:
Modified: branches/1.2_RC/ChangeLog
===================================================================
--- branches/1.2_RC/ChangeLog 2009-10-08 02:59:24 UTC (rev 5824)
+++ branches/1.2_RC/ChangeLog 2009-10-09 00:19:07 UTC (rev 5825)
@@ -1,3 +1,7 @@
+=== Deluge 1.2.0_rc2 (In Development) ===
+==== GtkUI ====
+ * Fix path errors when adding torrents externally in Windows
+
=== Deluge 1.2.0_rc1 (07 October 2009) ===
==== Core ====
* Implement new RPC protocol DelugeRPC replacing XMLRPC
Modified: branches/1.2_RC/deluge/ui/gtkui/ipcinterface.py
===================================================================
--- branches/1.2_RC/deluge/ui/gtkui/ipcinterface.py 2009-10-08 02:59:24 UTC
(rev 5824)
+++ branches/1.2_RC/deluge/ui/gtkui/ipcinterface.py 2009-10-09 00:19:07 UTC
(rev 5825)
@@ -70,7 +70,8 @@
# Make the args absolute paths
_args = []
for arg in args:
- _args.append(os.path.abspath(arg))
+ if arg.strip():
+ _args.append(os.path.abspath(arg))
args = _args
socket = os.path.join(deluge.configmanager.get_config_dir("ipc"),
"deluge-gtk")
Modified: trunk/deluge/ui/gtkui/ipcinterface.py
===================================================================
--- trunk/deluge/ui/gtkui/ipcinterface.py 2009-10-08 02:59:24 UTC (rev
5824)
+++ trunk/deluge/ui/gtkui/ipcinterface.py 2009-10-09 00:19:07 UTC (rev
5825)
@@ -70,7 +70,8 @@
# Make the args absolute paths
_args = []
for arg in args:
- _args.append(os.path.abspath(arg))
+ if arg.strip():
+ _args.append(os.path.abspath(arg))
args = _args
socket = os.path.join(deluge.configmanager.get_config_dir("ipc"),
"deluge-gtk")
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---