From c23911e7b032e0c383f9a001ee4b5dc5ebdacc4f Mon Sep 17 00:00:00 2001 From: chen_10 <1803012703@qq.com> Date: Wed, 30 Mar 2022 21:34:55 +0800 Subject: [PATCH] format --- push/Telegram.py | 1 - push/wxpusher.py | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/push/Telegram.py b/push/Telegram.py index c6b4ae880..c68920863 100644 --- a/push/Telegram.py +++ b/push/Telegram.py @@ -10,7 +10,6 @@ def getKey(data): def push(title, mdmsg, textmsg, config): - #deprecate str.replace() funciton since Telegram support ** syntax to bold text. msg = textmsg if len(config['userId']) == 0 or len(config['botToken']) == 0: return diff --git a/push/wxpusher.py b/push/wxpusher.py index 90e799732..04124cddf 100644 --- a/push/wxpusher.py +++ b/push/wxpusher.py @@ -14,10 +14,8 @@ def push(title, mdmsg, textmsg, config): "content": mdmsg, "summary": title, "contentType": 3, - "topicIds": [ - ], + "topicIds": [], "uids": [config['UID']] - , } url = "http://wxpusher.zjiecode.com/api/send/message" requests.post(url, json=data)