diff --git a/deluge/ui/web/json_api.py b/deluge/ui/web/json_api.py index 1851ff58e..e289ac830 100644 --- a/deluge/ui/web/json_api.py +++ b/deluge/ui/web/json_api.py @@ -479,7 +479,7 @@ class WebApi(JSONComponent): :type torrents: list **Usage** - >>> json_api.add_torrents([{ + >>> json_api.web.add_torrents([{ "path": "/tmp/deluge-web/some-torrent-file.torrent", "options": {"download_path": "/home/deluge/"} }])