dont crash

This commit is contained in:
Tom Flux
2026-07-07 11:30:54 +01:00
parent 7e446fe491
commit 4fff74a637
+1 -1
View File
@@ -354,7 +354,7 @@ def pick_audio_settings(info: dict) -> dict:
} }
def get_cached_file(conn: sqlite3.Connection, filepath: str, size: int, mtime: float) -> Optional[dict]:
"""Get cached file info if file hasn't changed. Returns dict or None.""" """Get cached file info if file hasn't changed. Returns dict or None."""
cursor = conn.execute( cursor = conn.execute(
"""SELECT video_codec, audio_codec, is_hevc, status """SELECT video_codec, audio_codec, is_hevc, status