From ec5c8bafb660ddf8109f8584943ec0316427f45f Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Thu, 23 Feb 2017 19:30:42 +0000 Subject: [PATCH] [#2815] [Console] Fix 'add' cmd path inconsistency on windows When adding a torrent with a download location from command prompt --- deluge/ui/console/cmdline/commands/add.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/ui/console/cmdline/commands/add.py b/deluge/ui/console/cmdline/commands/add.py index f65d996a2..3b1b970b3 100644 --- a/deluge/ui/console/cmdline/commands/add.py +++ b/deluge/ui/console/cmdline/commands/add.py @@ -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: