chore: format

This commit is contained in:
Timothy J. Baek 2024-07-02 16:51:30 -07:00
parent d0e89a0318
commit 647aa1966f

View File

@ -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]