diff --git a/wsrpc_aiohttp/websocket/common.py b/wsrpc_aiohttp/websocket/common.py index cf74185..48a0e2a 100644 --- a/wsrpc_aiohttp/websocket/common.py +++ b/wsrpc_aiohttp/websocket/common.py @@ -332,7 +332,7 @@ def _unresolvable(self, func_name, *args, **kwargs): def resolver(self, func_name): class_name, method = ( - func_name.split(".", 1) + func_name.rsplit(".", 1) if "." in func_name else (func_name, "init") )