mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-03 05:54:51 +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:
|
||||
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)
|
||||
|
||||
for name in vars(module).keys():
|
||||
|
|
|
|||
Loading…
Reference in a new issue