小改动

This commit is contained in:
Womsxd 2022-01-09 17:45:39 +08:00
parent abc4435e0a
commit 19735abf9c
No known key found for this signature in database
GPG Key ID: 0FE76418EE689B68
3 changed files with 18 additions and 11 deletions

View File

@ -1,8 +1,12 @@
[setting]
enable=false
push_server=cqhttp #共有 cqhttp ftqq(sever酱) Pushplus
push_token=123456 #server酱和pushplus的推送token
#共有 cqhttp ftqq(sever酱) Pushplus
push_server=cqhttp
#server酱和pushplus的推送token
push_token=123456
[cqhttp]
cqhttp_url=http://127.0.0.1:5000/send_private_msg #cqhttp的服务端地址
cqhttp_qq=10001 #推送给谁
#cqhttp的服务端地址
cqhttp_url=http://127.0.0.1:5000/send_private_msg
#推送给谁
cqhttp_qq=10001

View File

@ -1,8 +1,12 @@
[setting]
enable=true
push_server=cqhttp #共有 cqhttp ftqq(sever酱) Pushplus
push_token=123456 #server酱和pushplus的推送token
enable=false
#共有 cqhttp ftqq(sever酱) Pushplus
push_server=cqhttp
#server酱和pushplus的推送token
push_token=123456
[cqhttp]
cqhttp_url=http://127.0.0.1:5000/send_private_msg #cqhttp的服务端地址
cqhttp_qq=10001 #推送给谁
#cqhttp的服务端地址
cqhttp_url=http://127.0.0.1:5000/send_private_msg
#推送给谁
cqhttp_qq=10001

View File

@ -6,8 +6,7 @@ cfg = ConfigParser()
def load_config():
config_path = os.path.dirname(os.path.realpath(__file__)) + "/push.ini"
cfg.read(config_path)
cfg.read(os.path.join(os.path.dirname(os.path.realpath(__file__)), 'push.ini'))
def title(status):