Skip to content
This repository was archived by the owner on Mar 11, 2022. It is now read-only.

Commit 8d46c5f

Browse files
authored
Add files via upload
1 parent 9b8046a commit 8d46c5f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Fight/__init__.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
from sys import path
2-
from os.path import dirname
2+
from os.path import dirname, basename, isfile, join
3+
import glob
34

45
path.append(dirname(path[0]))
6+
7+
8+
modules = glob.glob(join(dirname(__file__), "*.py"))
9+
__all__ = [ basename(f)[:-3] for f in modules if isfile(f) and not f.endswith('__init__.py')]

0 commit comments

Comments
 (0)