directory properly removed

This commit is contained in:
Joel Kåberg committed 2013-11-27 07:58:23 +01:00
1 parent 3e2e6385cf
commit 2e96860380
1 file changed
+2 -2
@@ -94,9 +94,9 @@ class uTorrent(Downloader):
# Send request to uTorrent # Send request to uTorrent
if data.get('protocol') == 'torrent_magnet': if data.get('protocol') == 'torrent_magnet':
self.utorrent_api.add_torrent_uri(torrent_filename, data.get('url'), directory) self.utorrent_api.add_torrent_uri(torrent_filename, data.get('url'))
else: else:
self.utorrent_api.add_torrent_file(torrent_filename, filedata, directory) self.utorrent_api.add_torrent_file(torrent_filename, filedata)
# Change settings of added torrent # Change settings of added torrent
self.utorrent_api.set_torrent(torrent_hash, torrent_params) self.utorrent_api.set_torrent(torrent_hash, torrent_params)