mirror of
https://gitlab.wikimedia.org/ladsgroup/Phabricator-maintenance-bot
synced 2024-12-22 18:40:53 +01:00
Fix path for gerrit-creds.json
It's erroring now
This commit is contained in:
parent
1d784027bb
commit
7ace1cb220
1 changed files with 2 additions and 1 deletions
|
@ -23,7 +23,8 @@ from contextlib import contextmanager
|
|||
|
||||
import requests
|
||||
|
||||
with open('gerrit-creds.json', 'r') as f:
|
||||
dir_path = os.path.dirname(os.path.realpath(__file__))
|
||||
with open(os.path.join(dir_path, 'gerrit-creds.json'), 'r') as f:
|
||||
creds = json.loads(f.read())
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue