mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-03 15:08:40 +00:00
[#2815] [Console] Fix 'add' cmd path inconsistency on windows
When adding a torrent with a download location from command prompt
This commit is contained in:
parent
fb8dc42acf
commit
ec5c8bafb6
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ class Command(BaseCommand):
|
||||||
|
|
||||||
t_options = {}
|
t_options = {}
|
||||||
if options.path:
|
if options.path:
|
||||||
t_options['download_location'] = os.path.expanduser(options.path)
|
t_options['download_location'] = os.path.abspath(os.path.expanduser(options.path))
|
||||||
|
|
||||||
def on_success(result):
|
def on_success(result):
|
||||||
if not result:
|
if not result:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue