update_app_level: use absolute path for github token fetching
This commit is contained in:
parent
4a55ea6e45
commit
ba0fdb8ae2
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ import sys
|
|||
import json
|
||||
from collections import OrderedDict
|
||||
|
||||
token = open(".github_token").read().strip()
|
||||
token = open(os.path.dirname(__file__) + "/../../.github_token").read().strip()
|
||||
|
||||
tmpdir = tempfile.mkdtemp(prefix="update_app_levels_")
|
||||
os.system(f"git clone 'https://oauth2:{token}@github.com/yunohost/apps' {tmpdir}")
|
||||
|
|
Loading…
Reference in a new issue