diff --git a/polls/views/task.py b/polls/views/task.py index 8398ec6..ac19416 100644 --- a/polls/views/task.py +++ b/polls/views/task.py @@ -72,7 +72,7 @@ def create_task(request): if profile and profile.status == 1: content = '%s在群组“%s”发布了任务,请查收消息' % (profile, g.name) Notice.create_normal_notice(u.user_id, content, group) - send_tnps([u.username], content) + # send_tnps([u.username], content) return JsonResponse({'status': 'success'})