From afd47aaf8aa1a6e7002be8ce311652410023c9da Mon Sep 17 00:00:00 2001 From: yumoqing Date: Fri, 14 Apr 2023 11:39:36 +0800 Subject: [PATCH] bugfix --- ahserver/globalEnv.py | 2 +- ahserver/websocketProcessor.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ahserver/globalEnv.py b/ahserver/globalEnv.py index c03fb10..21624bf 100644 --- a/ahserver/globalEnv.py +++ b/ahserver/globalEnv.py @@ -166,5 +166,5 @@ def initEnv(): g.Success = Success g.NeedLogin = NeedLogin g.NoPermission = NoPermission - g.password = password + g.password_encode = password diff --git a/ahserver/websocketProcessor.py b/ahserver/websocketProcessor.py index 61a3510..1e6240a 100644 --- a/ahserver/websocketProcessor.py +++ b/ahserver/websocketProcessor.py @@ -2,7 +2,7 @@ import aiohttp from aiohttp import web from .baseProcessor import PythonScriptProcessor -class WebSocketProcessor(PythonScriptProcessor): +class WebsocketProcessor(PythonScriptProcessor): @classmethod def isMe(self,name): return name=='ws'