Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix crash when text attr is not avialable in SHOW_TOTAL_CODE_TIME #487

Closed
wants to merge 1 commit into from

Conversation

anduong96
Copy link
Contributor

@anduong96 anduong96 commented Nov 21, 2023

Closes anuraghazra/github-readme-stats#2531

Fix the following issue:

  File "***/waka-readme-stats/sources/main.py", line 266, in main
    stats = await get_stats()
            ^^^^^^^^^^^^^^^^^
  File "***/Git/waka-readme-stats/sources/main.py", line 211, in get_stats
    stats += f"![Code Time](http://img.shields.io/badge/{quote('Code Time')}-{quote(str(data['data']['text']))}-blue)\n\n"

@anduong96
Copy link
Contributor Author

@anmol098

sources/main.py Fixed Show resolved Hide resolved
@anmol098
Copy link
Owner

@anduong96 appreciate that you fixed this error. i didn't see that but i have added the fix directly so closing this PR

@anmol098 anmol098 closed this Nov 22, 2023
@anduong96 anduong96 deleted the fix-code-time branch December 1, 2023 03:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants