mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-20 20:22:10 +00:00
Use a token for github
This commit is contained in:
parent
7bf0afa621
commit
87eda834d3
1 changed files with 1 additions and 1 deletions
|
|
@ -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}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue