Fix a traceback to wrongful path to string convertion

This commit is contained in:
Tomas Groth 2020-05-10 22:04:13 +02:00
parent 1f9884e64a
commit da373ef1d5

View File

@ -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):