update : 08.07.2025 20:39:04,42
This commit is contained in:
parent
75365ef41d
commit
b9c8dc3f02
7
start.py
7
start.py
@ -37,6 +37,8 @@ from bs4 import BeautifulSoup
|
||||
from django.db.models import Q
|
||||
|
||||
import apps.schedulers.tasks
|
||||
|
||||
from apps.general.views import settingsmodule
|
||||
from apps.gto.models.model_equipment import Equipment
|
||||
from apps.gto.models.model_alarm import GtoAlarm
|
||||
from apps.gto.models.model_indicators import Indicators
|
||||
@ -378,11 +380,6 @@ def load_sigi(**kwargs):
|
||||
region=info,
|
||||
source="SIGI",
|
||||
)
|
||||
eventsmodule.write_events(
|
||||
level_event = settings.EVENT_LEVEL_WARNING,
|
||||
section = settings.EVENT_SECTION_OTHERS,
|
||||
text_event = f'Землятрясение в точке "{info}" , источник SIGI'
|
||||
)
|
||||
|
||||
else:
|
||||
earthquake.latitude = gem_coordonates[0]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user