Fixed bug in returning clip image embed to actually return it

This commit is contained in:
Jaret Burkett committed 2024-10-03 10:49:09 -06:00
1 parent 67e0aca750
commit 28e6f00790
1 file changed
+1 -2
+1 -2
View File
@@ -752,8 +752,7 @@ class ClipImageFileItemDTOMixin:
if len(img_files) > 1:
img_files.remove(self.path)
# randomly grab one
self.clip_image_path = random.choice(img_files)
return self.path
return random.choice(img_files)
else:
return self.clip_image_path