Skip to content

Commit

Permalink
Merge branch 'develop' into feature/vue-root-dirs
Browse files Browse the repository at this point in the history
Conflicts:
	themes-default/slim/views/addShows_addExistingShow.mako
	themes/dark/templates/addShows_addExistingShow.mako
	themes/light/templates/addShows_addExistingShow.mako
  • Loading branch information
sharkykh committed May 13, 2018
2 parents a228021 + 8eb5914 commit d7f928f
Show file tree
Hide file tree
Showing 123 changed files with 2,831 additions and 1,571 deletions.
43 changes: 0 additions & 43 deletions .github/check_changes.py

This file was deleted.

3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ install:
- 'export PATH="$HOME/.yarn/bin:$PATH" && yarn install'
script:
- yarn test
# Skip Python tests if the exit code of `.github/check_changes.py` is 0
- python .github/check_changes.py; if [[ $? -eq 0 ]]; then tox -v --recreate; fi
- tox -v --recreate
cache:
yarn: true
directories:
Expand Down
2 changes: 2 additions & 0 deletions medusa/bs4_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
# along with Medusa. If not, see <http://www.gnu.org/licenses/>.

from __future__ import unicode_literals

from builtins import object

from bs4 import BeautifulSoup


Expand Down
5 changes: 2 additions & 3 deletions medusa/clients/torrent/download_station_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ def __init__(self, host=None, username=None, password=None):
'login': urljoin(self.host, 'webapi/auth.cgi'),
'task': urljoin(self.host, 'webapi/DownloadStation/task.cgi'),
'info': urljoin(self.host, '/webapi/DownloadStation/info.cgi'),
'dsminfo': urljoin(self.host, '/webapi/entry.cgi'),
}

self.url = self.urls['task']
Expand Down Expand Up @@ -159,14 +158,14 @@ def _check_destination(self):
return True

params = {
'api': 'SYNO.DSM.Info',
'api': 'SYNO.DownloadStation.Info',
'version': 2,
'method': 'getinfo',
'session': 'DownloadStation',
}

try:
self.response = self.session.get(self.urls['dsminfo'], params=params, verify=False, timeout=120)
self.response = self.session.get(self.urls['info'], params=params, verify=False, timeout=120)
self.response.raise_for_status()
except RequestException as error:
handle_requests_exception(error)
Expand Down
Loading

0 comments on commit d7f928f

Please sign in to comment.