fetch_image_from_route: fix missing f-string in error message (#38183)

This commit is contained in:
Apostolos Georgiadis
2026-06-16 18:23:30 +02:00
committed by GitHub
parent 586dd4c611
commit 4cefe7239d
+1 -1
View File
@@ -35,7 +35,7 @@ if segment >= len(segments):
fr = FrameReader(segments[segment])
if frame >= fr.frame_count:
raise Exception("frame {frame} not found, got {fr.frame_count} frames")
raise Exception(f"frame {frame} not found, got {fr.frame_count} frames")
im = Image.fromarray(fr.get(frame))
fn = f"uxxx_{route.replace('|', '_')}_{segment}_{frame}.png"