mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-10 21:25:24 +03:00
formatting
This commit is contained in:
parent
57044da3c3
commit
1f1c1b9214
@ -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))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user