Quick update to prepapre the 5.1.2 release

This commit is contained in:
2026-06-19 15:06:19 +02:00
parent a59f3938bd
commit 40bd1d0424
13 changed files with 16 additions and 18 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)