Use a token for github

This commit is contained in:
Kovid Goyal
2019-12-12 10:05:11 +05:30
parent 7bf0afa621
commit 87eda834d3

View File

@@ -321,7 +321,7 @@ class GitHub(Base): # {{{
def get_github_data():
with open(os.environ['PENV'] + '/github') as f:
with open(os.environ['PENV'] + '/github-token') as f:
un, pw = f.read().strip().split(':')
return {'username': un, 'password': pw}