diff --git a/sample/notify.py b/sample/notify.py index e1691bbe..a5ac2b76 100644 --- a/sample/notify.py +++ b/sample/notify.py @@ -285,6 +285,7 @@ def pushplus_bot(title: str, content: str) -> None: else: url_old = "http://pushplus.hxtrip.com/send" + headers["Accept"] = "application/json" response = requests.post(url=url_old, data=body, headers=headers).json() if response["code"] == 200: