Private GIT

Skip to content
Snippets Groups Projects
Commit 37ab5bb4 authored by Alexandre Beloin's avatar Alexandre Beloin
Browse files

Merge pull request #1289 from abeloin/patch-synology_ssl

Disable ssl checking in synology client
parents a086193f c8f1eb62
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,7 @@ class DownloadStationAPI(GenericClient):
auth_url = self.host + 'webapi/auth.cgi?api=SYNO.API.Auth&version=2&method=login&account=' + self.username + '&passwd=' + self.password + '&session=DownloadStation&format=sid'
try:
self.response = self.session.get(auth_url)
self.response = self.session.get(auth_url, verify=False)
self.auth = self.response.json()['data']['sid']
except:
return None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment