Fix path errors when adding torrents externally in Windows
This commit is contained in:
parent
3c69822761
commit
844f98db04
@ -70,6 +70,7 @@ class IPCInterface(component.Component):
|
|||||||
# Make the args absolute paths
|
# Make the args absolute paths
|
||||||
_args = []
|
_args = []
|
||||||
for arg in args:
|
for arg in args:
|
||||||
|
if arg.strip():
|
||||||
_args.append(os.path.abspath(arg))
|
_args.append(os.path.abspath(arg))
|
||||||
args = _args
|
args = _args
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user