Files
OpenCore-Legacy-Patcher/resources/__init__.py
2021-10-03 13:35:01 -06:00

5 lines
217 B
Python

# Credit: CorpNewt
from os.path import dirname, basename, isfile
import glob
modules = glob.glob(dirname(__file__)+"/*.py")
__all__ = [ basename(f)[:-3] for f in modules if isfile(f) and not f.endswith('__init__.py')]