Various Fixes (#22594)

* Fix handling of preview

* Fix schema cleaning

* Cleanup
This commit is contained in:
Nicolas Mowen
2026-03-23 11:22:52 -05:00
committed by GitHub
parent a89c7d8819
commit a8b6ea5005
6 changed files with 29 additions and 23 deletions
+2 -2
View File
@@ -266,8 +266,8 @@ class PreviewRecorder:
.timestamp()
)
file_start = f"preview_{config.name}"
start_file = f"{file_start}-{start_ts}.webp"
file_start = f"preview_{config.name}-"
start_file = f"{file_start}{start_ts}.webp"
for file in sorted(os.listdir(os.path.join(CACHE_DIR, FOLDER_PREVIEW_FRAMES))):
if not file.startswith(file_start):