Skip to content

Commit d0adc2a

Browse files
Update custom_components/llmvision/media_handlers.py
Remove duplicate sort Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 66a3aa2 commit d0adc2a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

custom_components/llmvision/media_handlers.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -289,9 +289,6 @@ async def record_camera(image_entity, camera_number):
289289
# Sort selected frames back into their original chronological order
290290
selected_frames.sort(key=lambda x: x[0])
291291

292-
# Sort selected frames back into their original chronological order
293-
selected_frames.sort(key=lambda x: x[0])
294-
295292
# Add selected frames to client
296293
for frame_name, frame_data, _ in selected_frames:
297294
resized_image = await self.resize_image(target_width=target_width, image_data=frame_data)

0 commit comments

Comments
 (0)