mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-05 16:08:40 +00:00
Fix path errors when adding torrents externally in Windows
This commit is contained in:
parent
f1383f9655
commit
41d26bbbce
2 changed files with 6 additions and 1 deletions
|
@ -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) ===
|
=== Deluge 1.2.0_rc1 (07 October 2009) ===
|
||||||
==== Core ====
|
==== Core ====
|
||||||
* Implement new RPC protocol DelugeRPC replacing XMLRPC
|
* Implement new RPC protocol DelugeRPC replacing XMLRPC
|
||||||
|
|
|
@ -70,7 +70,8 @@ class IPCInterface(component.Component):
|
||||||
# Make the args absolute paths
|
# Make the args absolute paths
|
||||||
_args = []
|
_args = []
|
||||||
for arg in args:
|
for arg in args:
|
||||||
_args.append(os.path.abspath(arg))
|
if arg.strip():
|
||||||
|
_args.append(os.path.abspath(arg))
|
||||||
args = _args
|
args = _args
|
||||||
|
|
||||||
socket = os.path.join(deluge.configmanager.get_config_dir("ipc"), "deluge-gtk")
|
socket = os.path.join(deluge.configmanager.get_config_dir("ipc"), "deluge-gtk")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue