Formatting

This commit is contained in:
Nicolas Mowen 2024-09-09 09:45:37 -06:00
parent db01335918
commit fb48c01648

View File

@ -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>/<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):
parts = year_month.split("-")
start_date = (