mirror of
https://github.com/shufflewzc/faker2.git
synced 2025-04-23 10:58:44 +08:00
Update jd_identical.py
This commit is contained in:
parent
e6b4957552
commit
e864e1dfff
@ -155,7 +155,7 @@ def disable_duplicate_tasks(ids: list) -> None:
|
|||||||
|
|
||||||
def get_token() -> str or None:
|
def get_token() -> str or None:
|
||||||
try:
|
try:
|
||||||
with open("/ql/config/auth.json", "r", encoding="utf-8") as f:
|
with open("/ql/data/config/auth.json", "r", encoding="utf-8") as f:
|
||||||
data = json.load(f)
|
data = json.load(f)
|
||||||
except Exception:
|
except Exception:
|
||||||
logger.info(f"❌无法获取 token!!!\n{traceback.format_exc()}")
|
logger.info(f"❌无法获取 token!!!\n{traceback.format_exc()}")
|
||||||
|
Loading…
Reference in New Issue
Block a user