Skip to content

Commit

Permalink
fix log
Browse files Browse the repository at this point in the history
  • Loading branch information
jxxghp committed Oct 16, 2024
1 parent 981e5ea commit 4455ac1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/helper/cookiecloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from typing import Any, Dict, Tuple, Optional

from app.core.config import settings
from app.log import logger
from app.utils.crypto import CryptoJsUtils, HashUtils
from app.utils.http import RequestUtils
from app.utils.string import StringUtils
Expand Down Expand Up @@ -122,6 +123,7 @@ def __load_local_encrypt_data(self, uuid: str) -> Dict[str, Any]:
file_path = self._local_path / f"{uuid}.json"
# 检查文件是否存在
if not file_path.exists():
logger.warn(f"本地CookieCloud文件不存在:{file_path}")
return {}

# 读取文件
Expand Down

0 comments on commit 4455ac1

Please sign in to comment.