diff --git a/deluge/ui/web/json_api.py b/deluge/ui/web/json_api.py index 4cae31562..c8a1bab6d 100644 --- a/deluge/ui/web/json_api.py +++ b/deluge/ui/web/json_api.py @@ -759,7 +759,7 @@ class WebApi(JSONComponent): >>> json_api.web.add_torrents([{ "path": "/tmp/deluge-web/some-torrent-file.torrent", - "options": {"download_path": "/home/deluge/"} + "options": {"download_location": "/home/deluge/"} }]) """