mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-05 18:55:23 +03:00
Use string
This commit is contained in:
parent
a712ff0175
commit
a6c2e58833
@ -173,7 +173,7 @@ class FrigateApp:
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
with open("/config/.vacuum", "w") as f:
|
with open("/config/.vacuum", "w") as f:
|
||||||
f.write(datetime.datetime.now().timestamp())
|
f.write(str(datetime.datetime.now().timestamp()))
|
||||||
except PermissionError:
|
except PermissionError:
|
||||||
logger.error("Unable to write to /config to save DB state")
|
logger.error("Unable to write to /config to save DB state")
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user