From 51e06c2da7357ce93b0302e7ae0870147807694a Mon Sep 17 00:00:00 2001 From: RabbitFoRed <73241991+RabbitFored@users.noreply.github.com> Date: Fri, 6 Sep 2024 14:29:20 +0530 Subject: [PATCH] Update client.py --- pyrogram/client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyrogram/client.py b/pyrogram/client.py index aee53c10..5fa43849 100644 --- a/pyrogram/client.py +++ b/pyrogram/client.py @@ -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: