mirror of
https://github.com/whyour/qinglong.git
synced 2026-09-23 20:15:19 +08:00
调整一言启用逻辑,默认不启用
This commit is contained in:
+1
-1
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user