[bug fix]

This commit is contained in:
msincenselee 2020-02-02 19:05:09 +08:00
parent c878360f70
commit d9a06c11cd

View File

@ -11,10 +11,8 @@ http://wxpusher.zjiecode.com/
from threading import Lock, Thread from threading import Lock, Thread
import requests import requests
import json
import sys import sys
import traceback import traceback
from urllib.parse import urlencode
from datetime import datetime from datetime import datetime
global wechat_lock global wechat_lock
@ -74,7 +72,7 @@ def send_wx_msg(content=''):
:return: :return:
""" """
if len(text) == 0: if len(content) == 0:
return return
t = wechat_thread(uid=UID, content=content) t = wechat_thread(uid=UID, content=content)