use directory (untested!)
This commit is contained in:
4
toolbox/__init__.py
Normal file
4
toolbox/__init__.py
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
import glob
|
||||||
|
tools = []
|
||||||
|
for module_name in glob.glob("plugins/redstoner-utils.py.dir/toolbox/*.py"):
|
||||||
|
tools.append(__import__(module_name))
|
||||||
Reference in New Issue
Block a user