From 7e5b9d9c25e15439df8ea73d866f5c8ac76bbf8e Mon Sep 17 00:00:00 2001 From: Matthew Grotke Date: Thu, 28 May 2026 22:52:01 -0400 Subject: [PATCH] Development --- docker/routlin-dash/app/view_page.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/routlin-dash/app/view_page.py b/docker/routlin-dash/app/view_page.py index f4b4110..07217d6 100644 --- a/docker/routlin-dash/app/view_page.py +++ b/docker/routlin-dash/app/view_page.py @@ -4,7 +4,7 @@ import json, re, subprocess, os, sys import sanitize import validation as validate from datetime import datetime, timezone -from config_utils import config_hash, get_pending_entries, get_dashboard_pending, get_dashboard_done, load_snapshot_for_uuid, load_all_snapshots, get_done_timestamps, queue_command, _find_cmd_in_queues, _entry_ts_from_queue, _apply_changes_immediately, _seconds_until_nextrun, _format_timing, _is_locked, _lock_mtime, WEB_APP_DISPLAY_NAME, CONFIGS_DIR, DATA_DIR, WWW_DIR, ACCOUNTS_FILE, APP_DIR +from config_utils import config_hash, get_pending_entries, get_dashboard_pending, get_dashboard_done, load_snapshot_for_uuid, load_all_snapshots, get_done_timestamps, queue_command, _find_cmd_in_queues, _entry_ts_from_queue, _apply_changes_immediately, _seconds_until_next_run, _format_timing, _is_locked, _lock_mtime, WEB_APP_DISPLAY_NAME, CONFIGS_DIR, DATA_DIR, WWW_DIR, ACCOUNTS_FILE, APP_DIR import factory from factory import LEVEL_RANK, e, client_level, passes, build_items, build_snap_val, snap_expand_row PAGES_DIR = os.path.join(APP_DIR, 'pages') @@ -897,7 +897,7 @@ def render_layout(view_id, content_html, tokens): pending = get_pending_entries() my_uuid = next((u for u, t, c, usr in pending if usr == current_user and c != 'fix problems'), None) - secs = _seconds_until_nextrun() + secs = _seconds_until_next_run() locked = _is_locked() lock_mtime = _lock_mtime() other_bars = '' @@ -960,7 +960,7 @@ def render_layout(view_id, content_html, tokens): fix_suffix = ('Fix is being applied now...' if fix_ts and mtime and fix_ts < mtime else 'Fix will be applied on the next run.') else: - timing = _format_timing(_seconds_until_nextrun()) + timing = _format_timing(_seconds_until_next_run()) fix_suffix = (f'Fix will be applied {timing}.' if timing else 'Fix pending. The processing service is not running.') else: