mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +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 ====
|
==== Console ====
|
||||||
* Escape hyphens in the manpage
|
* Escape hyphens in the manpage
|
||||||
* Make the delete key work
|
* Make the delete key work
|
||||||
|
* Allow ~ to be used in the path in the add command
|
||||||
|
|
||||||
=== Deluge 1.2.0_rc3 (01 November 2009) ===
|
=== Deluge 1.2.0_rc3 (01 November 2009) ===
|
||||||
==== Core ====
|
==== Core ====
|
||||||
|
|
|
@ -58,7 +58,7 @@ class Command(BaseCommand):
|
||||||
|
|
||||||
t_options = {}
|
t_options = {}
|
||||||
if options["path"]:
|
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
|
# Keep a list of deferreds to make a DeferredList
|
||||||
deferreds = []
|
deferreds = []
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue