From a484822dcfff3393edbd5f3a7e1a6c3c19669550 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Mon, 16 Jun 2025 16:30:46 +0200 Subject: [PATCH] Update store.py --- changedetectionio/store.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/changedetectionio/store.py b/changedetectionio/store.py index 819134d2..a7b7d809 100644 --- a/changedetectionio/store.py +++ b/changedetectionio/store.py @@ -13,6 +13,7 @@ import json import os import re import secrets +import sys import threading import time import uuid as uuid_builder @@ -124,8 +125,6 @@ class ChangeDetectionStore: unlink(password_reset_lockfile) if not 'app_guid' in self.__data: - import os - import sys if "pytest" in sys.modules or "PYTEST_CURRENT_TEST" in os.environ: self.__data['app_guid'] = "test-" + str(uuid_builder.uuid4()) else: