Merge remote-tracking branch 'origin/master'

This commit is contained in:
murmur 2023-04-03 10:10:19 +08:00
commit 4fe8abc6be

View File

@ -38,7 +38,7 @@ def s2wx(title="",description="", content=""):
"""通过自建msgpusher发送至微信
当前title值无效
"""
return
# return
# 受API限制频繁发送会失败
# 拟合并发送满3条已发送超时时间10s
@ -92,7 +92,10 @@ _{datetime.datetime.now()}_
elif (not len(content)) and len(msgcache):
# 等效超时
send()
msgcache.clear()
if len(msgcache):
msgcache.pop(0)
if len(msgcache):
msgcache.pop(0)
Timer(10,s2wx).start()
pushisbusy=0
# GET 方式