params: make python and c++ API match (#25573)

* params: make python and c++ API match

* few more
This commit is contained in:
Adeeb Shihadeh
2022-08-26 20:46:19 -07:00
committed by GitHub
parent c626198575
commit 90a4565eb2
16 changed files with 24 additions and 24 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ def snapshot():
subprocess.check_call(["pgrep", "camerad"])
print("Camerad already running")
params.put_bool("IsTakingSnapshot", False)
params.delete("Offroad_IsTakingSnapshot")
params.remove("Offroad_IsTakingSnapshot")
return None, None
except subprocess.CalledProcessError:
pass