This commit is contained in:
deathbybandaid 2022-02-10 13:17:43 -05:00
parent 9cfd7f964a
commit 4566c9141f

View File

@ -1,12 +1,6 @@
#!/usr/bin/python
# -*- encoding: utf-8 -*-
import os import os
import glob for module in os.listdir(os.path.dirname(__file__)):
if module == '__init__.py' or module[-3:] != '.py':
all_list = list() continue
for f in glob.glob(os.path.dirname(__file__)+"/*.py"): __import__(".%s" % module[:-3], locals(), globals())
if os.path.isfile(f) and not os.path.basename(f).startswith('_'): del module
all_list.append(os.path.basename(f)[:-3])
__all__ = all_list