mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
Fix path errors when adding torrents externally in Windows
This commit is contained in:
parent
3c69822761
commit
844f98db04
1 changed files with 2 additions and 1 deletions
|
@ -70,7 +70,8 @@ class IPCInterface(component.Component):
|
|||
# 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")
|
||||
|
|
Loading…
Add table
Reference in a new issue