Skip to content

Commit

Permalink
🐛 fix auto generate
Browse files Browse the repository at this point in the history
  • Loading branch information
tw93 committed Oct 9, 2023
1 parent 6a53836 commit b9998b2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion build.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
python-graphql-client==0.3.0
httpx
httpx=0.23.3
datetime

0 comments on commit b9998b2

Please sign in to comment.