去除多余下划线

This commit is contained in:
Womsxd 2022-01-09 18:25:21 +08:00
parent 991205efb6
commit c9f6a9cc78
No known key found for this signature in database
GPG Key ID: 0FE76418EE689B68

View File

@ -51,7 +51,7 @@ def cq_http(status, push_message):
def push(status, push_message):
load_config()
if cfg.getboolean('setting', 'enable'):
if cfg.get('setting', 'push_server') == "cq_http":
if cfg.get('setting', 'push_server') == "cqhttp":
cq_http(status, push_message)
elif cfg.get('setting', 'push_server') == "ftqq":
ftqq(status, push_message)