mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-07 08:26:53 +08:00
add rsa
This commit is contained in:
+1
-1
@@ -587,6 +587,6 @@ class Scheduler(metaclass=Singleton):
|
|||||||
|
|
||||||
else:
|
else:
|
||||||
self._auth_count += 1
|
self._auth_count += 1
|
||||||
logger.error(f"用户认证失败:{msg},共失败 {self._auth_count} 次")
|
logger.error(f"用户认证失败,{msg},共失败 {self._auth_count} 次")
|
||||||
if self._auth_count >= __max_try__:
|
if self._auth_count >= __max_try__:
|
||||||
logger.error("用户认证失败次数过多,将不再尝试认证!")
|
logger.error("用户认证失败次数过多,将不再尝试认证!")
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ def user_auth():
|
|||||||
if status:
|
if status:
|
||||||
logger.info(f"{msg} 用户认证成功")
|
logger.info(f"{msg} 用户认证成功")
|
||||||
else:
|
else:
|
||||||
logger.info(f"用户认证失败:{msg}")
|
logger.info(f"用户认证失败,{msg}")
|
||||||
|
|
||||||
|
|
||||||
def check_auth():
|
def check_auth():
|
||||||
|
|||||||
+2
-1
@@ -63,4 +63,5 @@ p115client==0.0.3.8.3.3
|
|||||||
python-cookietools==0.0.2.1
|
python-cookietools==0.0.2.1
|
||||||
aligo~=6.2.4
|
aligo~=6.2.4
|
||||||
aiofiles~=24.1.0
|
aiofiles~=24.1.0
|
||||||
jieba~=0.42.1
|
jieba~=0.42.1
|
||||||
|
rsa~=4.9
|
||||||
Reference in New Issue
Block a user