From de18f0b5d099471ba78dfb22aee936c1b4769305 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Wed, 12 Jun 2024 19:36:44 +0200 Subject: [PATCH] import here instead --- changedetectionio/processors/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/changedetectionio/processors/__init__.py b/changedetectionio/processors/__init__.py index 1360c41b..9e4ce6b1 100644 --- a/changedetectionio/processors/__init__.py +++ b/changedetectionio/processors/__init__.py @@ -2,7 +2,6 @@ from abc import abstractmethod from changedetectionio.strtobool import strtobool from copy import deepcopy from loguru import logger -from requests.structures import CaseInsensitiveDict import hashlib import os import re @@ -22,7 +21,7 @@ class difference_detection_processor(): self.watch = deepcopy(self.datastore.data['watching'].get(watch_uuid)) def call_browser(self): - + from requests.structures import CaseInsensitiveDict # Protect against file:// access if re.search(r'^file://', self.watch.get('url', '').strip(), re.IGNORECASE): if not strtobool(os.getenv('ALLOW_FILE_URI', 'false')):