fix add
This commit is contained in:
parent
65e22936da
commit
1f80de044b
|
@ -121,7 +121,7 @@ class torrent_add:
|
||||||
if vars.url:
|
if vars.url:
|
||||||
proxy.add_torrent_url(vars.url, None,options)
|
proxy.add_torrent_url(vars.url, None,options)
|
||||||
log.debug("add-url:options :%s" % options)
|
log.debug("add-url:options :%s" % options)
|
||||||
this.redirect(vars.choose_files)
|
self.redirect(vars.choose_files)
|
||||||
elif torrent_name:
|
elif torrent_name:
|
||||||
proxy.add_torrent_file_binary(vars.torrent.filename, torrent_data, options)
|
proxy.add_torrent_file_binary(vars.torrent.filename, torrent_data, options)
|
||||||
log.debug("add-file:options :%s" % options)
|
log.debug("add-file:options :%s" % options)
|
||||||
|
|
Loading…
Reference in New Issue