Update client.py

This commit is contained in:
RabbitFoRed 2024-09-06 14:29:20 +05:30 committed by GitHub
parent 053232b15a
commit 51e06c2da7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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: