fix: Don't add double - to username text
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:40:01 -05:00
parent 431e621e60
commit eb3add32be

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"![@{username}](https://img.shields.io/badge/@{username}-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"\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...")