webui : fix add url

This commit is contained in:
Martijn Voncken 2008-04-04 17:02:09 +00:00
parent c9bc6a9526
commit 7f8fca451d
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ class torrent_add:
print self.add_page(error = _("Choose an url or a torrent, not both.")) print self.add_page(error = _("Choose an url or a torrent, not both."))
return return
if vars.url: if vars.url:
proxy.add_torrent_url(vars.url,options) proxy.add_torrent_url(vars.url, None,options)
log.debug("add-url:options :%s" % options) log.debug("add-url:options :%s" % options)
utils.do_redirect() utils.do_redirect()
elif torrent_name: elif torrent_name: