Merge pull request #143 from felixonmars/f-string

Fix f-string in github source
This commit is contained in:
依云 2020-09-03 10:33:43 +08:00 committed by GitHub
commit 0397ea5cc5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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