Private GIT

Skip to content
Snippets Groups Projects
Commit 1fb39d9a authored by root's avatar root
Browse files

modified: download_station.py

parent 651c3602
No related branches found
No related tags found
No related merge requests found
...@@ -46,7 +46,7 @@ class DownloadStationAPI(GenericClient): ...@@ -46,7 +46,7 @@ class DownloadStationAPI(GenericClient):
def _get_auth(self): def _get_auth(self):
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' auth_url = self.host + 'webapi/auth.cgi?api=SYNO.API.Auth&version=2&session=DownloadStation&method=login&account=' + self.username + '&passwd=' + self.password + '&session=DownloadStation&format=sid'
try: try:
self.response = self.session.get(auth_url) self.response = self.session.get(auth_url)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment