diff --git a/build.py b/build.py index 74c73b24..ab8e8546 100644 --- a/build.py +++ b/build.py @@ -6,7 +6,6 @@ def fetch_ci_time(filePath): entries = httpx.get("https://api.github.com/repos/tw93/weekly/commits?path=" + filePath + "&page=1&per_page=1") - print("entries>>> ", "https://api.github.com/repos/tw93/weekly/commits?path=" + filePath + "&page=1&per_page=1") ciTime= entries.json()[0]["commit"]["committer"]["date"].split("T")[0] return ciTime # return datetime.datetime.strptime(ciTime,"%Y-%m-%d") diff --git a/requirements.txt b/requirements.txt index 12d8f3bc..48cdae04 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ python-graphql-client==0.3.0 -httpx +httpx=0.23.3 datetime