mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-08 16:04:51 +00:00
Update client.py
This commit is contained in:
parent
053232b15a
commit
51e06c2da7
1 changed files with 2 additions and 2 deletions
|
|
@ -801,7 +801,7 @@ class Client(Methods):
|
|||
pass
|
||||
else:
|
||||
for path, handlers in include:
|
||||
module_path = root + "." + path
|
||||
module_path = root.replace("/",".") + "." + path
|
||||
warn_non_existent_functions = True
|
||||
|
||||
try:
|
||||
|
|
@ -836,7 +836,7 @@ class Client(Methods):
|
|||
|
||||
if exclude:
|
||||
for path, handlers in exclude:
|
||||
module_path = root + "." + path
|
||||
module_path = root.replace("/",".") + "." + path
|
||||
warn_non_existent_functions = True
|
||||
|
||||
try:
|
||||
|
|
|
|||
Loading…
Reference in a new issue