mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-05 18:55:23 +03:00
remove unnecessary print statements in util.py
This commit is contained in:
parent
0af3d875db
commit
de95bcb087
@ -1247,10 +1247,9 @@ def update_yaml_file(file_path, key_path, new_value):
|
|||||||
if key not in temp:
|
if key not in temp:
|
||||||
temp[key] = {}
|
temp[key] = {}
|
||||||
temp = temp[key]
|
temp = temp[key]
|
||||||
print(new_value)
|
|
||||||
last_key = key_path[-1]
|
last_key = key_path[-1]
|
||||||
if new_value == "":
|
if new_value == "":
|
||||||
print(last_key)
|
|
||||||
if isinstance(last_key, tuple):
|
if isinstance(last_key, tuple):
|
||||||
del temp[last_key[0]][last_key[1]]
|
del temp[last_key[0]][last_key[1]]
|
||||||
else:
|
else:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user