Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix qBittorrent Unsupported Media Type #8528

Merged
merged 2 commits into from
Sep 26, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix qBittorrent Unsupported Media Type
  • Loading branch information
medariox authored Sep 25, 2020
commit 83da1cf7baf1cca079325f6075b0a021899c20e7
4 changes: 2 additions & 2 deletions medusa/clients/torrent/qbittorrent.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@ def _add_torrent_file(self, result):
}
if self.api >= (2, 0, 0):
if os.path.isabs(app.TORRENT_PATH):
files['savepath'] = app.TORRENT_PATH
return self._request(method='post', files=files, cookies=self.session.cookies)
data['savepath'] = app.TORRENT_PATH
return self._request(method='post', data=data, files=files, cookies=self.session.cookies)

def _set_torrent_label(self, result):

Expand Down