mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-12 04:24:27 +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
@ -37,7 +37,7 @@ class Command(BaseCommand):
|
||||
|
||||
t_options = {}
|
||||
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):
|
||||
if not result:
|
||||
|
Loading…
x
Reference in New Issue
Block a user