webui:fix torrent_add
This commit is contained in:
parent
1f5d9a10c1
commit
6d63307623
|
@ -236,7 +236,7 @@ class Ws:
|
||||||
f.write(base64.b64decode(data_b64))
|
f.write(base64.b64decode(data_b64))
|
||||||
f.close()
|
f.close()
|
||||||
log.debug("options:%s" % options)
|
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
|
proxy.add_torrent_filecontent = add_torrent_filecontent
|
||||||
log.debug('cfg-file %s' % self.config_file)
|
log.debug('cfg-file %s' % self.config_file)
|
||||||
|
|
Loading…
Reference in New Issue