mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
Fix exports migration when there is none (#14761)
This commit is contained in:
parent
77ec86d31a
commit
9755fa0537
@ -50,6 +50,7 @@ def migrate_frigate_config(config_file: str):
|
|||||||
previous_version = "0.14"
|
previous_version = "0.14"
|
||||||
|
|
||||||
logger.info("Migrating export file names...")
|
logger.info("Migrating export file names...")
|
||||||
|
if os.path.isdir(EXPORT_DIR):
|
||||||
for file in os.listdir(EXPORT_DIR):
|
for file in os.listdir(EXPORT_DIR):
|
||||||
if "@" not in file:
|
if "@" not in file:
|
||||||
continue
|
continue
|
||||||
|
Loading…
Reference in New Issue
Block a user