Typo.
This commit is contained in:
parent
d2da5894f1
commit
04ed568c98
1 changed files with 2 additions and 2 deletions
4
poll.py
4
poll.py
|
@ -7,7 +7,7 @@ logging.basicConfig(level=logging.INFO)
|
|||
|
||||
fingerpass = getenv('FINGER_PW')
|
||||
|
||||
gitauth = (getenv('GIT_USER', getenv('GIT_PW'))
|
||||
gitauth = (getenv('GIT_USER'), getenv('GIT_PW'))
|
||||
|
||||
fingerurl = f'https://finger.stacken.kth.se/services/git/all'
|
||||
|
||||
|
@ -21,7 +21,7 @@ for (user, passwd) in response.json().items():
|
|||
"email": f"{user}@stacken.kth.se",
|
||||
"password": passwd,
|
||||
},
|
||||
auth = ('fingerpoller', gitpass)
|
||||
auth = gitauth
|
||||
)
|
||||
if response.status_code == 422:
|
||||
patch(f'https://git.stacken.kth.se/api/v1/admin/users/{user}',
|
||||
|
|
Loading…
Add table
Reference in a new issue