mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-21 05:43:16 -07:00
fix self call
This commit is contained in:
parent
3a6c8fc5c0
commit
4e6d6f55a3
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ class Authentication:
|
|||
self.app_api_list = {}
|
||||
|
||||
def login(self, application):
|
||||
get_api_list('SYNO.API.Auth')
|
||||
self.get_api_list('SYNO.API.Auth')
|
||||
login_api = 'auth.cgi?api=SYNO.API.Auth'
|
||||
param = {'version': self.app_api_list['SYNO.API.Auth']['maxVersion'], 'method': 'login', 'account': self._username,
|
||||
'passwd': self._password, 'session': application, 'format': 'cookie'}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue