Fix exports migration when there is none

This commit is contained in:
Felipe Santos 2024-11-03 13:42:47 -03:00
parent 77ec86d31a
commit 222af68ae8

View File

@ -50,6 +50,7 @@ def migrate_frigate_config(config_file: str):
previous_version = "0.14"
logger.info("Migrating export file names...")
if os.path.isdir(EXPORT_DIR):
for file in os.listdir(EXPORT_DIR):
if "@" not in file:
continue