mirror of
https://github.com/LucasVbr/LucasVbr.git
synced 2026-07-09 14:27:46 +00:00
Add Macro
This commit is contained in:
@@ -32,7 +32,7 @@ def getDataSubfiles(files: list):
|
||||
def convertToolBadges(listToolName: list) -> list[dict[str, str]]:
|
||||
tools = [Badge(toolName) for toolName in listToolName]
|
||||
tools.sort(key=getBadgeColor) # Sort by color
|
||||
return [{"url": badge.url, "name": badge.name} for badge in tools]
|
||||
return [{"src": badge.url, "alt": badge.name} for badge in tools]
|
||||
|
||||
|
||||
def getWeather(city: str) -> dict:
|
||||
|
||||
Reference in New Issue
Block a user