notice
This commit is contained in:
parent
4b092b31bb
commit
9cfdba794d
@ -82,7 +82,6 @@ class ChatNoticeConsumer(WebsocketConsumer):
|
|||||||
try:
|
try:
|
||||||
status, result = getattr(self, "pre_" + type_notice)(user, targets)
|
status, result = getattr(self, "pre_" + type_notice)(user, targets)
|
||||||
except AttributeError as error:
|
except AttributeError as error:
|
||||||
print(error)
|
|
||||||
status = 200
|
status = 200
|
||||||
|
|
||||||
if (status < 300):
|
if (status < 300):
|
||||||
|
Loading…
Reference in New Issue
Block a user