mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
run the path from the add command through os.path.expanduser
This commit is contained in:
parent
4da33c72cc
commit
7e19a11521
2 changed files with 2 additions and 1 deletions
|
@ -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 ====
|
||||
|
|
|
@ -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 = []
|
||||
|
|
Loading…
Add table
Reference in a new issue