From 6d63307623b3fbbaa197f57e977af0da04af3372 Mon Sep 17 00:00:00 2001 From: Martijn Voncken Date: Thu, 21 Feb 2008 18:37:58 +0000 Subject: [PATCH] webui:fix torrent_add --- deluge/ui/webui/webui_plugin/webserver_common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/ui/webui/webui_plugin/webserver_common.py b/deluge/ui/webui/webui_plugin/webserver_common.py index 86e44caaa..a91aecbba 100644 --- a/deluge/ui/webui/webui_plugin/webserver_common.py +++ b/deluge/ui/webui/webui_plugin/webserver_common.py @@ -236,7 +236,7 @@ class Ws: f.write(base64.b64decode(data_b64)) f.close() log.debug("options:%s" % options) - self.proxy.add_torrent_file([filename] , [options]) + proxy.add_torrent_file([filename] , [options]) proxy.add_torrent_filecontent = add_torrent_filecontent log.debug('cfg-file %s' % self.config_file)