зеркало из https://github.com/mozilla/MozDef.git
Fix syntax error on if/else stmt
This commit is contained in:
Родитель
91884f169e
Коммит
2b3b0cfc9a
|
@ -333,7 +333,7 @@ class alertConsumer(ConsumerMixin):
|
|||
if not ((bodyDict['severity'] == 'NOTICE') or (bodyDict['severity'] == 'INFO')):
|
||||
self.ircBot.client.msg(ircchannel, formatAlert(bodyDict))
|
||||
#if the alert does not have a severity for some reason, go ahead and publish it
|
||||
else
|
||||
else:
|
||||
self.ircBot.client.msg(ircchannel, formatAlert(bodyDict))
|
||||
|
||||
message.ack()
|
||||
|
|
Загрузка…
Ссылка в новой задаче