aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Tuomi <jans.tuomi@gmail.com>2023-09-11 18:22:57 +0300
committerJan Tuomi <jans.tuomi@gmail.com>2023-09-11 18:22:57 +0300
commitd1847918c28f5210e1e490e6085727ba770e43e4 (patch)
treecca22fc231036b9436f3c72287a23a20f6979b32
parent39ada4e33e8a833374979614f46c8d990398eac6 (diff)
Fix bug in ScraperSourcePlugin
-rw-r--r--plugins/ScraperSourcePlugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ScraperSourcePlugin.py b/plugins/ScraperSourcePlugin.py
index cd7ed3c..ac1b74c 100644
--- a/plugins/ScraperSourcePlugin.py
+++ b/plugins/ScraperSourcePlugin.py
@@ -164,7 +164,7 @@ class Plugin(PluginInterface):
image_html = f'<img src="{image_src}"><br><br>'
if description and self.show_image_in_description:
description = image_html + description
- else:
+ elif description is None:
description = image_html
media_content = ItemMediaContent(