Commit 647aa196 authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

chore: format

parent d0e89a03
......@@ -766,6 +766,7 @@ class BannerModel(BaseModel):
dismissible: bool
timestamp: int
try:
banners = json.loads(os.environ.get("WEBUI_BANNERS", "[]"))
banners = [BannerModel(**banner) for banner in banners]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment