From 1f80de044bbfbd59a08085faca12c8f52c5db943 Mon Sep 17 00:00:00 2001 From: Martijn Voncken Date: Wed, 2 Jul 2008 18:40:35 +0000 Subject: [PATCH] fix add --- deluge/ui/webui/torrent_add.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/ui/webui/torrent_add.py b/deluge/ui/webui/torrent_add.py index ba8f6329c..20dfdfadc 100644 --- a/deluge/ui/webui/torrent_add.py +++ b/deluge/ui/webui/torrent_add.py @@ -121,7 +121,7 @@ class torrent_add: if vars.url: proxy.add_torrent_url(vars.url, None,options) log.debug("add-url:options :%s" % options) - this.redirect(vars.choose_files) + self.redirect(vars.choose_files) elif torrent_name: proxy.add_torrent_file_binary(vars.torrent.filename, torrent_data, options) log.debug("add-file:options :%s" % options)