update
This commit is contained in:
parent
b4cbb033da
commit
5ef29922eb
@ -5,7 +5,6 @@ import urllib.parse
|
|||||||
import base64
|
import base64
|
||||||
|
|
||||||
import requests
|
import requests
|
||||||
from logger import logger
|
|
||||||
|
|
||||||
from db import get_local_db
|
from db import get_local_db
|
||||||
|
|
||||||
@ -35,7 +34,6 @@ def get_sign():
|
|||||||
|
|
||||||
def ddsend_msg(msg):
|
def ddsend_msg(msg):
|
||||||
if settings.run_model != 'production':
|
if settings.run_model != 'production':
|
||||||
logger.error(msg)
|
|
||||||
return
|
return
|
||||||
|
|
||||||
hash_msg = hmac.new(msg.encode('utf-8'), digestmod=hashlib.sha256).digest()
|
hash_msg = hmac.new(msg.encode('utf-8'), digestmod=hashlib.sha256).digest()
|
||||||
|
Loading…
Reference in New Issue
Block a user