Skip to content

Commit

Permalink
Another fix
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Dec 2, 2024
1 parent 875aeca commit b8253e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion panel/template/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ def resolve_resources(
continue
elif scls._css is None:
break
tmpl_css = scls._css if not isinstance(scls._css, list) else [scls._css] # type: ignore
tmpl_css = scls._css if isinstance(scls._css, list) else [scls._css] # type: ignore
if css in tmpl_css:
tmpl_name = scls.__name__.lower()

Expand Down

0 comments on commit b8253e3

Please sign in to comment.