From 52ab39d92e6c329ca1644a30256d7fbaa7cb3761 Mon Sep 17 00:00:00 2001 From: Felix Yan Date: Thu, 3 Sep 2020 04:38:14 +0800 Subject: [PATCH] Fix f-string in github source --- nvchecker_source/github.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvchecker_source/github.py b/nvchecker_source/github.py index 5d4b6b8..0920d54 100644 --- a/nvchecker_source/github.py +++ b/nvchecker_source/github.py @@ -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(