mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-05 18:55:23 +03:00
Formatting
This commit is contained in:
parent
c217c34e3d
commit
1b9188f656
@ -14,7 +14,6 @@ from collections import defaultdict
|
|||||||
from multiprocessing.synchronize import Event as MpEvent
|
from multiprocessing.synchronize import Event as MpEvent
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from typing import Any, Tuple
|
from typing import Any, Tuple
|
||||||
import traceback
|
|
||||||
|
|
||||||
import psutil
|
import psutil
|
||||||
|
|
||||||
@ -390,7 +389,6 @@ class RecordingMaintainer(threading.Thread):
|
|||||||
"Error occurred when attempting to maintain recording cache"
|
"Error occurred when attempting to maintain recording cache"
|
||||||
)
|
)
|
||||||
logger.error(e)
|
logger.error(e)
|
||||||
logger.error(str(traceback.print_exc()))
|
|
||||||
duration = datetime.datetime.now().timestamp() - run_start
|
duration = datetime.datetime.now().timestamp() - run_start
|
||||||
wait_time = max(0, 5 - duration)
|
wait_time = max(0, 5 - duration)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user