mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-08 09:28:41 +00:00
fix an error in the doc string for add_torrents
This commit is contained in:
parent
46163b992f
commit
2e0bd1bd3c
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue