mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
Fix recordings storage (#5031)
* Fix recordings storage * Update record.py * Update record.py * Formatting
This commit is contained in:
parent
6b123675c4
commit
cf2466c8c1
@ -278,9 +278,7 @@ class RecordingMaintainer(threading.Thread):
|
||||
|
||||
directory = os.path.join(
|
||||
RECORD_DIR,
|
||||
start_time.replace(tzinfo=datetime.timezone.utc)
|
||||
.astimezone(tz=None)
|
||||
.strftime("%Y-%m-%d/%H"),
|
||||
start_time.astimezone(tz=datetime.timezone.utc).strftime("%Y-%m-%d/%H"),
|
||||
camera,
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user