mirror of
https://github.com/walkxhub/dashboard-icons.git
synced 2025-12-06 13:46:58 -05:00
update readme
This commit is contained in:
parent
6305ebe9b0
commit
bd9d5bb90f
@ -1,7 +1,7 @@
|
|||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
def generate_img_tag(file):
|
def generate_img_tag(file):
|
||||||
return f'<img src="{file.name}" alt="{file.stem}" width="50">'
|
return f'<img src="png/{file.name}" alt="{file.stem}" width="50">'
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
imgs = sorted(Path("../png").glob("*.png"))
|
imgs = sorted(Path("../png").glob("*.png"))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user