diff options
| author | Jan Tuomi <jans.tuomi@gmail.com> | 2024-05-20 12:51:20 +0300 |
|---|---|---|
| committer | Jan Tuomi <jans.tuomi@gmail.com> | 2024-05-20 12:51:20 +0300 |
| commit | 15623fb8204f9ba421f2cf8396837858093d7d88 (patch) | |
| tree | 2bb6b1f2e45635c61ea749561ecf14d6c2aff122 | |
| parent | 861333c28a8f0eb5663c5b744212d4d1a5eaf4ab (diff) | |
Fix unbound variable bug
| -rw-r--r-- | plugins/ScraperSourcePlugin.py | 1 |
1 files changed, 1 insertions, 0 deletions
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: |
