chore: format
This commit is contained in:
1 parent
d0e89a0318
commit
647aa1966f
1 file changed
+1
@@ -766,6 +766,7 @@ class BannerModel(BaseModel):
|
|||||||
dismissible: bool
|
dismissible: bool
|
||||||
timestamp: int
|
timestamp: int
|
||||||
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
banners = json.loads(os.environ.get("WEBUI_BANNERS", "[]"))
|
banners = json.loads(os.environ.get("WEBUI_BANNERS", "[]"))
|
||||||
banners = [BannerModel(**banner) for banner in banners]
|
banners = [BannerModel(**banner) for banner in banners]
|
||||||
|
|||||||
Reference in new issue
Block a user