Use a token for github

This commit is contained in:
Kovid Goyal 2019-12-12 10:05:11 +05:30
parent 7bf0afa621
commit 87eda834d3
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -321,7 +321,7 @@ def create_release(self, releases):
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}