Dev 5.2.1 (#1)

Reviewed-on: #1
Co-authored-by: aurelien.vaillant <availlant@miraculouscorp.com>
Co-committed-by: aurelien.vaillant <availlant@miraculouscorp.com>
This commit was merged in pull request #1.
This commit is contained in:
2026-07-08 19:21:14 +02:00
committed by stilobique
parent a59f3938bd
commit 5d17ec9da1
15 changed files with 22 additions and 22 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)