fix: Update username badge
Some checks failed
PUBLISH_IMAGE / Publish 'waka-readme-stats' image (push) Has been cancelled
CODESTYLE / Run codestyle check (push) Has been cancelled

This commit is contained in:
2024-11-03 01:58:20 -05:00
parent fbc230e542
commit 6188b274bf

View File

@@ -88,7 +88,7 @@ async def get_short_github_info() -> str:
data = GHM.USER.get_followers() data = GHM.USER.get_followers()
for user in data: for user in data:
username = user.login.replace("-", "") username = user.login.replace("-", "")
stats += f"![@{user.login}](https://img.shields.io/badge/@{user.login}-black?style=plastic&logo=github&logoColor=fff&link={user.html_url})" stats += f"![@{user.login}](https://img.shields.io/badge/@{username}-black?style=plastic&logo=github&logoColor=fff&link={user.html_url})"
stats += f"\n\nIf you follow my account you can appear on this list. *This list updates every 12h*\n\n" stats += f"\n\nIf you follow my account you can appear on this list. *This list updates every 12h*\n\n"
DBM.i("Adding short GitHub info...") DBM.i("Adding short GitHub info...")