mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-06 16:07:01 +08:00
fix log
This commit is contained in:
@@ -2,6 +2,7 @@ import json
|
|||||||
from typing import Any, Dict, Tuple, Optional
|
from typing import Any, Dict, Tuple, Optional
|
||||||
|
|
||||||
from app.core.config import settings
|
from app.core.config import settings
|
||||||
|
from app.log import logger
|
||||||
from app.utils.crypto import CryptoJsUtils, HashUtils
|
from app.utils.crypto import CryptoJsUtils, HashUtils
|
||||||
from app.utils.http import RequestUtils
|
from app.utils.http import RequestUtils
|
||||||
from app.utils.string import StringUtils
|
from app.utils.string import StringUtils
|
||||||
@@ -122,6 +123,7 @@ class CookieCloudHelper:
|
|||||||
file_path = self._local_path / f"{uuid}.json"
|
file_path = self._local_path / f"{uuid}.json"
|
||||||
# 检查文件是否存在
|
# 检查文件是否存在
|
||||||
if not file_path.exists():
|
if not file_path.exists():
|
||||||
|
logger.warn(f"本地CookieCloud文件不存在:{file_path}")
|
||||||
return {}
|
return {}
|
||||||
|
|
||||||
# 读取文件
|
# 读取文件
|
||||||
|
|||||||
Reference in New Issue
Block a user