mirror of
https://github.com/whyour/qinglong.git
synced 2025-07-27 14:46:06 +08:00
PushMe推送通道修复
This commit is contained in:
parent
ef1a5e7aa4
commit
e90af5f38b
|
@ -655,10 +655,10 @@ def pushme(title: str, content: str) -> None:
|
|||
}
|
||||
response = requests.post(url, data=data)
|
||||
|
||||
if response == 'success':
|
||||
if response.status_code == 200 and response.text == "success":
|
||||
print("PushMe 推送成功!")
|
||||
else:
|
||||
print("PushMe 推送失败!{response}")
|
||||
print(f"PushMe 推送失败!{response.status_code} {response.text}")
|
||||
|
||||
|
||||
def one() -> str:
|
||||
|
|
Loading…
Reference in New Issue
Block a user