mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-25 08:26:06 +08:00
调整一言启用逻辑,默认不启用
This commit is contained in:
parent
1aa9a06989
commit
24d2e45bd5
|
@ -1020,7 +1020,7 @@ def send(title: str, content: str, ignore_default_config: bool = False, **kwargs
|
||||||
print(f"{title} 在SKIP_PUSH_TITLE环境变量内,跳过推送!")
|
print(f"{title} 在SKIP_PUSH_TITLE环境变量内,跳过推送!")
|
||||||
return
|
return
|
||||||
|
|
||||||
hitokoto = push_config.get("HITOKOTO")
|
hitokoto = push_config.get("HITOKOTO", "false")
|
||||||
content += "\n\n" + one() if hitokoto != "false" else ""
|
content += "\n\n" + one() if hitokoto != "false" else ""
|
||||||
|
|
||||||
notify_function = add_notify_function()
|
notify_function = add_notify_function()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user