webui:fix torrent_add

This commit is contained in:
Martijn Voncken 2008-02-21 18:37:58 +00:00
parent 1f5d9a10c1
commit 6d63307623
1 changed files with 1 additions and 1 deletions

View File

@ -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)