From 902ef3fa28c74a9c8690b4eff7076fd4ef46b64b Mon Sep 17 00:00:00 2001 From: Damien Churchill Date: Wed, 4 Nov 2009 23:36:27 +0000 Subject: [PATCH] run the path from the add command through os.path.expanduser --- deluge/ui/console/commands/add.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/ui/console/commands/add.py b/deluge/ui/console/commands/add.py index 24fc9237b..1a931e4d1 100644 --- a/deluge/ui/console/commands/add.py +++ b/deluge/ui/console/commands/add.py @@ -58,7 +58,7 @@ class Command(BaseCommand): t_options = {} if options["path"]: - t_options["download_location"] = options["path"] + t_options["download_location"] = os.path.expanduser(options["path"]) # Keep a list of deferreds to make a DeferredList deferreds = []