mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-15 07:35:27 +03:00
Formatting
This commit is contained in:
parent
db01335918
commit
fb48c01648
@ -76,7 +76,9 @@ def preview_ts(camera_name, start_ts, end_ts):
|
|||||||
|
|
||||||
|
|
||||||
@PreviewBp.route("/preview/<year_month>/<int:day>/<int:hour>/<camera_name>/<tz_name>")
|
@PreviewBp.route("/preview/<year_month>/<int:day>/<int:hour>/<camera_name>/<tz_name>")
|
||||||
@PreviewBp.route("/preview/<year_month>/<float:day>/<float:hour>/<camera_name>/<tz_name>")
|
@PreviewBp.route(
|
||||||
|
"/preview/<year_month>/<float:day>/<float:hour>/<camera_name>/<tz_name>"
|
||||||
|
)
|
||||||
def preview_hour(year_month, day, hour, camera_name, tz_name):
|
def preview_hour(year_month, day, hour, camera_name, tz_name):
|
||||||
parts = year_month.split("-")
|
parts = year_month.split("-")
|
||||||
start_date = (
|
start_date = (
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user