调整一言启用逻辑,默认不启用

This commit is contained in:
Cp0204
2024-11-28 21:17:46 +08:00
committed by GitHub
parent 1aa9a06989
commit 24d2e45bd5
+1 -1
View File
@@ -1020,7 +1020,7 @@ def send(title: str, content: str, ignore_default_config: bool = False, **kwargs
print(f"{title} 在SKIP_PUSH_TITLE环境变量内,跳过推送!")
return
hitokoto = push_config.get("HITOKOTO")
hitokoto = push_config.get("HITOKOTO", "false")
content += "\n\n" + one() if hitokoto != "false" else ""
notify_function = add_notify_function()