Initial commit

This commit is contained in:
Tools
2024-05-04 16:18:49 +02:00
commit 332bbe2c86
32 changed files with 1876 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
import glob
import os
def get_folder_name():
addon = glob.glob(os.getcwd() + "/*/__init__.py", recursive=True)
return os.path.basename(os.path.dirname(addon[0]))
if __name__ == "__main__":
name = get_folder_name()
# Keep the print value, it's request to output a string value available
print(name)