Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion backend/services/history.py
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ def scan_and_sync_task_images(self, task_id: str) -> Dict[str, Any]:
def get_index(filename):
try:
return int(filename.split('.')[0])
except:
except Exception:
return 999

image_files.sort(key=get_index)
Expand Down