Fix f-string in github source

This commit is contained in:
Felix Yan 2020-09-03 04:38:14 +08:00
parent 8e277e1528
commit 52ab39d92e
No known key found for this signature in database
GPG key ID: 786C63F330D7CB92

View file

@ -46,7 +46,7 @@ async def get_latest_tag(key: Tuple[str, str, str]) -> str:
repo, query, token = key repo, query, token = key
owner, reponame = repo.split('/') owner, reponame = repo.split('/')
headers = { headers = {
f'Authorization': 'bearer {token}', 'Authorization': f'bearer {token}',
'Content-Type': 'application/json', 'Content-Type': 'application/json',
} }
q = QUERY_LATEST_TAG.format( q = QUERY_LATEST_TAG.format(