From 3e281f4ab5a6d1df96c540cdce414f39ed3fcf16 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Mon, 5 Jan 2026 14:39:38 +0100 Subject: [PATCH] fix import --- changedetectionio/notification/task_queue.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/changedetectionio/notification/task_queue.py b/changedetectionio/notification/task_queue.py index a47679565..d408c7f8b 100644 --- a/changedetectionio/notification/task_queue.py +++ b/changedetectionio/notification/task_queue.py @@ -13,6 +13,7 @@ Environment Variables: import os import struct +import time from loguru import logger # Get queue storage type from environment @@ -760,6 +761,7 @@ def send_notification_task(n_object_dict): from changedetectionio.flask_app import datastore, notification_debug_log, app from datetime import datetime import json + import time # Reconstruct NotificationContextData from serialized dict n_object = NotificationContextData(initial_data=n_object_dict) @@ -894,7 +896,6 @@ def send_notification_task(n_object_dict): # Store retry attempt details with Apprise logs # Note: We use watch_uuid as the identifier since Huey doesn't expose task ID easily try: - import time import os import uuid