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 synology/Downloadstation not selected in config/search after rest… #5761

Merged
merged 2 commits into from
Nov 21, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
- Fixed Torrent Search path option not being saved ([#5736](https://github.com/pymedusa/Medusa/pull/5736))
- Fixed adding anime release group when adding show ([#5749](https://github.com/pymedusa/Medusa/pull/5749))
- Fixed Pushover debug log causing BraceException ([#5759](https://github.com/pymedusa/Medusa/pull/5759))
- Fixed torrent method Downloadstation not selected after restart ([#5761](https://github.com/pymedusa/Medusa/pull/5761))

-----

Expand Down
2 changes: 1 addition & 1 deletion medusa/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ def initialize(self, console_logging=True):
app.NZB_METHOD = check_setting_str(app.CFG, 'General', 'nzb_method', 'blackhole', valid_values=('blackhole', 'sabnzbd', 'nzbget'))
app.TORRENT_METHOD = check_setting_str(app.CFG, 'General', 'torrent_method', 'blackhole',
valid_values=('blackhole', 'utorrent', 'transmission', 'deluge',
'deluged', 'download_station', 'rtorrent', 'qbittorrent', 'mlnet'))
'deluged', 'downloadstation', 'rtorrent', 'qbittorrent', 'mlnet'))

app.DOWNLOAD_PROPERS = bool(check_setting_int(app.CFG, 'General', 'download_propers', 1))
app.PROPERS_SEARCH_DAYS = max(2, min(8, check_setting_int(app.CFG, 'General', 'propers_search_days', 2)))
Expand Down
2 changes: 1 addition & 1 deletion medusa/server/web/manage/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -791,7 +791,7 @@ def manageTorrents(self):

if app.TORRENT_METHOD == 'utorrent':
webui_url = '/'.join(s.strip('/') for s in (webui_url, 'gui/'))
if app.TORRENT_METHOD == 'download_station':
if app.TORRENT_METHOD == 'downloadstation':
if helpers.check_url('{url}download/'.format(url=webui_url)):
webui_url += 'download/'
else:
Expand Down