Browse Source

directory properly removed

pull/2582/head
Joel Kåberg 12 years ago
committed by Ruud
parent
commit
b468048d95
  1. 4
      couchpotato/core/downloaders/utorrent/main.py

4
couchpotato/core/downloaders/utorrent/main.py

@ -94,9 +94,9 @@ class uTorrent(Downloader):
# Send request to uTorrent
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:
self.utorrent_api.add_torrent_file(torrent_filename, filedata, directory)
self.utorrent_api.add_torrent_file(torrent_filename, filedata)
# Change settings of added torrent
self.utorrent_api.set_torrent(torrent_hash, torrent_params)

Loading…
Cancel
Save