From 15623fb8204f9ba421f2cf8396837858093d7d88 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Mon, 20 May 2024 12:51:20 +0300 Subject: Fix unbound variable bug --- plugins/ScraperSourcePlugin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/ScraperSourcePlugin.py b/plugins/ScraperSourcePlugin.py index a1930f9..52e3e3f 100644 --- a/plugins/ScraperSourcePlugin.py +++ b/plugins/ScraperSourcePlugin.py @@ -214,6 +214,7 @@ class Plugin(PluginInterface): self.log( f"failed to extract image source with selector: {self.selector_image}, skipping image" ) + image_elem = None image_src = None if image_elem: -- cgit v1.3