run the path from the add command through os.path.expanduser

This commit is contained in:
Damien Churchill 2009-11-04 23:36:27 +00:00
parent 4da33c72cc
commit 7e19a11521
2 changed files with 2 additions and 1 deletions

View file

@ -10,6 +10,7 @@
==== Console ====
* Escape hyphens in the manpage
* Make the delete key work
* Allow ~ to be used in the path in the add command
=== Deluge 1.2.0_rc3 (01 November 2009) ===
==== Core ====

View file

@ -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 = []