webui : fix add url
This commit is contained in:
parent
c9bc6a9526
commit
7f8fca451d
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue