fix: Add username variable
Some checks are pending
PUBLISH_IMAGE / Publish 'waka-readme-stats' image (push) Waiting to run
CodeQL / Analyze (python) (push) Waiting to run
CODESTYLE / Run codestyle check (push) Waiting to run

This commit is contained in:
2024-11-03 01:37:41 -05:00
parent 455220f236
commit 431e621e60

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"![@{username}](https://img.shields.io/badge/@{username}-black?style=plastic&logo=github&logoColor=fff&link={user.html_url})"
stats += f"\nIf you follow my account you can appear on this list. *This list updates every 12h*\n\n" stats += f"\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...")