diff --git a/conf/config.yaml b/conf/config.yaml index f9987cd..80006a7 100644 --- a/conf/config.yaml +++ b/conf/config.yaml @@ -4,5 +4,5 @@ SERVER: reconnect_interval: 3 VERSION: - code: 122 - name: 2.3.2 \ No newline at end of file + code: 123 + name: 2.3.3 \ No newline at end of file diff --git a/core/monitor.py b/core/monitor.py index 9469b13..b5a7fdb 100644 --- a/core/monitor.py +++ b/core/monitor.py @@ -107,6 +107,10 @@ class Monitor(callback.CallBack): # self.changeLock.release() def login(self, email, password, cookie=None, user_agent=None, proxy=None, clear: bool = False): + # 处理制表符,换行符 + email = email.strip().strip('\r\n') + password = password.strip().strip('\r\n') + cookie = cookie.strip().strip('\r\n') limit = 100 if self.size >= limit: raise Exception("单台终端登录到达上限,%d个号" % limit)