mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-22 23:17:17 +08:00
451d6f5c22
This reverts commit d24b96d3bb.
12 lines
223 B
Python
12 lines
223 B
Python
"""Prints the base path as json to stdout."""
|
|
|
|
import json
|
|
import os
|
|
from typing import Any
|
|
|
|
base_path = os.environ.get("FRIGATE_BASE_PATH", "")
|
|
|
|
result: dict[str, Any] = {"base_path": base_path}
|
|
|
|
print(json.dumps(result))
|