PamGram/utils/patch/__init__.py
omg-xtao 0addbe33d8
Support auto import patch
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
2023-11-07 16:02:27 +08:00

6 lines
163 B
Python

import pkgutil
from pathlib import Path
for _, file, _ in pkgutil.iter_modules([str(Path(__file__).parent.absolute())]):
__import__(file, globals(), level=1)