From da373ef1d5f44ef62ab3fd95bbf944c34bbcd816 Mon Sep 17 00:00:00 2001 From: Tomas Groth Date: Sun, 10 May 2020 22:04:13 +0200 Subject: [PATCH] Fix a traceback to wrongful path to string convertion --- openlp/plugins/images/lib/mediaitem.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openlp/plugins/images/lib/mediaitem.py b/openlp/plugins/images/lib/mediaitem.py index a3d06bc61..e062dd12d 100644 --- a/openlp/plugins/images/lib/mediaitem.py +++ b/openlp/plugins/images/lib/mediaitem.py @@ -610,7 +610,7 @@ class ImageMediaItem(MediaManagerItem): for image in images: name = image.file_path.name thumbnail_path = self.generate_thumbnail_path(image) - service_item.add_from_image(image.file_path, name, background, str(thumbnail_path)) + service_item.add_from_image(image.file_path, name, background, thumbnail_path) return True def check_group_exists(self, new_group):