From cd72dfe31888b8abd7a37aa86283cb607940d39c Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Wed, 27 Mar 2019 16:21:41 +0100 Subject: [PATCH] Added __init__.py --- pytron_run/ai_manager/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 pytron_run/ai_manager/__init__.py diff --git a/pytron_run/ai_manager/__init__.py b/pytron_run/ai_manager/__init__.py new file mode 100644 index 0000000..d2dd5e3 --- /dev/null +++ b/pytron_run/ai_manager/__init__.py @@ -0,0 +1,4 @@ +from os.path import dirname, basename, isfile +import glob +modules = glob.glob(dirname(__file__)+"/*/ai.py") +__all__ = ['.'.join(f.split('.')[:-1]) for f in modules if isfile(f)]