From 68e6d5d4f7f565856f3745f5222c84e9871b04a9 Mon Sep 17 00:00:00 2001 From: Sabron Date: Wed, 9 Jul 2025 09:15:30 +0700 Subject: [PATCH] update : 09.07.2025 9:15:30,54 --- apps/schedulers/tasks.py | 16 ++++++++-------- mfssogr/app_settings.py | 2 +- mfssogr/urls.py | 2 +- start.py | 12 ++++++------ templates/default.html | 3 +++ 5 files changed, 19 insertions(+), 16 deletions(-) diff --git a/apps/schedulers/tasks.py b/apps/schedulers/tasks.py index ae1c3e5..a7a762e 100644 --- a/apps/schedulers/tasks.py +++ b/apps/schedulers/tasks.py @@ -402,14 +402,14 @@ def load_earthquake(): current_month=current_month, current_year=current_year, ) - load_seishub( - dist=dist, - lon=lon, - lat=lat, - current_day=current_day, - current_month=current_month - 1, - current_year=current_year, - ) + # load_seishub( + # dist=dist, + # lon=lon, + # lat=lat, + # current_day=current_day, + # current_month=current_month - 1, + # current_year=current_year, +# ) load_usgs( dist=dist, lon=lon, diff --git a/mfssogr/app_settings.py b/mfssogr/app_settings.py index fcc488f..b63f55a 100644 --- a/mfssogr/app_settings.py +++ b/mfssogr/app_settings.py @@ -71,7 +71,7 @@ INSTALLED_APPS = [ """Информация о приложении """ SITE_TITLE = "Многофункциональная система безопасности ОГР" SITE_TITLE_S = "МФСБ ОГР" -APP_VER = "1.0.19.1" +APP_VER = "1.0.19.2" APP_VEK = "2023 - 2025гг" APP_COPPIRIGHT = "Многофункциональная система безопасности ОГР" diff --git a/mfssogr/urls.py b/mfssogr/urls.py index e577689..96ce1f9 100644 --- a/mfssogr/urls.py +++ b/mfssogr/urls.py @@ -48,5 +48,5 @@ Update().ready() if not settings.DEBUG: tasks.load_navigation() - tasks.load_earthquake() +tasks.load_earthquake() diff --git a/start.py b/start.py index b8939c0..5480a6f 100644 --- a/start.py +++ b/start.py @@ -398,11 +398,11 @@ def load_sigi(**kwargs): logging.error(data) if __name__ == "__main__": - load_sigi() - #import glob - #import os - #for filename in glob.glob('*.py'): - # print(os.stat(filename).st_ino, filename) + #load_sigi() + import glob + import os + for filename in glob.glob('*.py'): + print(os.stat(filename).st_ino, filename) #test_sysinfo() #print('-------------------------------------------------') #print_windows_version() @@ -411,5 +411,5 @@ if __name__ == "__main__": #test_hdd() #print(settings.BASE_DIR) - #print(os.stat(settings.BASE_DIR+'/manage.py').st_ino, 'manage.py') + # print(os.stat(settings.BASE_DIR+'/manage.py').st_ino, 'manage.py') #test_hetonis() \ No newline at end of file diff --git a/templates/default.html b/templates/default.html index 3f5647b..9b03aa0 100644 --- a/templates/default.html +++ b/templates/default.html @@ -134,6 +134,9 @@