From 647aa1966f72ebbc659a1b255045cea29eb648c6 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Tue, 2 Jul 2024 16:51:30 -0700 Subject: [PATCH] chore: format --- backend/config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/config.py b/backend/config.py index 2fcc0ba64..9a189c685 100644 --- a/backend/config.py +++ b/backend/config.py @@ -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]