From 2e0bd1bd3c2d62c0b35ce1dbfeb175c0c2a34833 Mon Sep 17 00:00:00 2001 From: Damien Churchill Date: Tue, 23 Jun 2009 09:36:30 +0000 Subject: [PATCH] fix an error in the doc string for add_torrents --- deluge/ui/web/json_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/"} }])