This commit is contained in:
kf_wuhao 2021-01-13 18:01:02 +08:00
parent da0f433eae
commit aaad6d6230

View File

@ -33,7 +33,7 @@ def get_sign():
def ddsend_msg(msg):
hash_msg = hmac.new(msg.encode('utf-8'), digestmod=hashlib.sha256).digest()
if hash_msg not in hash_msg:
if hash_msg not in msg_set:
msg_set.add(hash_msg)
else:
return