From 85c49595ee9300f65c7e908710856827cff07e24 Mon Sep 17 00:00:00 2001 From: Damien Churchill Date: Wed, 22 Jul 2009 20:56:08 +0000 Subject: [PATCH] update the doc string for add_torrent_url --- deluge/core/core.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/deluge/core/core.py b/deluge/core/core.py index 8bb872187..a79dda0f8 100644 --- a/deluge/core/core.py +++ b/deluge/core/core.py @@ -264,12 +264,15 @@ class Core(component.Component): @export def add_torrent_url(self, url, options, headers=None): """ - Adds a torrent from a url. Deluge will attempt to fetch the torrent + Adds a torrent from a url. Deluge will attempt to fetch the torrent from url prior to adding it to the session. - :param url: str, the url pointing to the torrent file - :param options: dict, the options to apply to the torrent on add - :param headers: dict, any optional headers to send + :param url: the url pointing to the torrent file + :type url: string + :param options: the options to apply to the torrent on add + :type options: dict + :param headers: any optional headers to send + :type headers: dict :returns: a Deferred which returns the torrent_id as a str or None """