mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-03 22:14:50 +00:00
parent
567e9611df
commit
b0c011c70c
1 changed files with 1 additions and 1 deletions
|
|
@ -1139,7 +1139,7 @@ class Client(Methods, BaseClient):
|
||||||
|
|
||||||
if include is None:
|
if include is None:
|
||||||
for path in sorted(Path(root).rglob("*.py")):
|
for path in sorted(Path(root).rglob("*.py")):
|
||||||
module_path = os.path.splitext(str(path))[0].replace("/", ".")
|
module_path = '.'.join(path.parent.parts + (path.stem,))
|
||||||
module = import_module(module_path)
|
module = import_module(module_path)
|
||||||
|
|
||||||
for name in vars(module).keys():
|
for name in vars(module).keys():
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue