[bug fix]
This commit is contained in:
parent
c878360f70
commit
d9a06c11cd
@ -11,10 +11,8 @@ http://wxpusher.zjiecode.com/
|
||||
|
||||
from threading import Lock, Thread
|
||||
import requests
|
||||
import json
|
||||
import sys
|
||||
import traceback
|
||||
from urllib.parse import urlencode
|
||||
from datetime import datetime
|
||||
|
||||
global wechat_lock
|
||||
@ -74,7 +72,7 @@ def send_wx_msg(content=''):
|
||||
|
||||
:return:
|
||||
"""
|
||||
if len(text) == 0:
|
||||
if len(content) == 0:
|
||||
return
|
||||
|
||||
t = wechat_thread(uid=UID, content=content)
|
||||
|
Loading…
Reference in New Issue
Block a user