зеркало из https://github.com/mozilla/MozDef.git
Call alert correctly
This commit is contained in:
Родитель
0a41d589ff
Коммит
672bb09f67
|
@ -93,7 +93,8 @@ class AlertGeoModel(AlertTask):
|
|||
# Determine if we should trigger an alert before updating the state.
|
||||
new_alert = alert.alert(
|
||||
cleaned.state.username,
|
||||
new_state.localities + cleaned.state.localities)
|
||||
new_state.localities,
|
||||
cleaned.state.localities)
|
||||
|
||||
updated = locality.update(cleaned.state, new_state)
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче