forked from openlp/openlp
Fix a traceback to wrongful path to string convertion
This commit is contained in:
parent
1f9884e64a
commit
da373ef1d5
@ -610,7 +610,7 @@ class ImageMediaItem(MediaManagerItem):
|
|||||||
for image in images:
|
for image in images:
|
||||||
name = image.file_path.name
|
name = image.file_path.name
|
||||||
thumbnail_path = self.generate_thumbnail_path(image)
|
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
|
return True
|
||||||
|
|
||||||
def check_group_exists(self, new_group):
|
def check_group_exists(self, new_group):
|
||||||
|
Loading…
Reference in New Issue
Block a user