formatting

This commit is contained in:
Nicolas Mowen 2024-04-17 06:51:01 -06:00
parent 57044da3c3
commit 1f1c1b9214

View File

@ -52,7 +52,9 @@ def migrate_frigate_config(config_file: str):
continue continue
new_name = file.replace("@", "_") new_name = file.replace("@", "_")
os.rename(os.path.join(EXPORT_DIR, file), os.path.join(EXPORT_DIR, new_name)) os.rename(
os.path.join(EXPORT_DIR, file), os.path.join(EXPORT_DIR, new_name)
)
with open(version_file, "w") as f: with open(version_file, "w") as f:
f.write(str(CURRENT_CONFIG_VERSION)) f.write(str(CURRENT_CONFIG_VERSION))