fix an error in the doc string for add_torrents
This commit is contained in:
parent
46163b992f
commit
2e0bd1bd3c
@ -479,7 +479,7 @@ class WebApi(JSONComponent):
|
|||||||
:type torrents: list
|
:type torrents: list
|
||||||
|
|
||||||
**Usage**
|
**Usage**
|
||||||
>>> json_api.add_torrents([{
|
>>> json_api.web.add_torrents([{
|
||||||
"path": "/tmp/deluge-web/some-torrent-file.torrent",
|
"path": "/tmp/deluge-web/some-torrent-file.torrent",
|
||||||
"options": {"download_path": "/home/deluge/"}
|
"options": {"download_path": "/home/deluge/"}
|
||||||
}])
|
}])
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user