Skip to content

Commit

Permalink
w
Browse files Browse the repository at this point in the history
  • Loading branch information
anduong96 committed Nov 21, 2023
1 parent cf8510c commit 3064772
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sources/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ async def get_stats() -> str:

if EM.SHOW_TOTAL_CODE_TIME:
DBM.i("Adding total code time info...")
data = await DM.get_remote_json("waka_all")
code_time = data["data"]["text"] if hasattr(data["data"], "text") else data["message"]
stats += f"![Code Time](http://img.shields.io/badge/{quote('Code Time')}-{quote(str(code_time))}-blue)\n\n"

Expand Down

0 comments on commit 3064772

Please sign in to comment.