aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoramy <[email protected]>2023-02-02 20:45:33 -0600
committeramy <[email protected]>2023-02-02 20:45:33 -0600
commita2d8fc0bc11ee34804d0a298ca4386badbe35114 (patch)
tree7f9eed9942ecb2f5d5abfa7fe402c6016fbeee9e /src
parenta86e8c5dfe6bae1ae0445c642641c04be16b7c7b (diff)
badges
Diffstat (limited to 'src')
-rw-r--r--src/badge-gen.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/badge-gen.py b/src/badge-gen.py
new file mode 100644
index 0000000..60a11da
--- /dev/null
+++ b/src/badge-gen.py
@@ -0,0 +1,6 @@
+import os
+directory = './badges'
+for filename in os.listdir(directory):
+ f = os.path.join(directory, filename)
+ if os.path.isfile(f):
+ print("<img alt=\""+f+"\" title=\""+f+"\" src=\""+f+"\">") \ No newline at end of file