Skip to content

Commit bda5054

Browse files
committed
chore: create new dict
1 parent 65ae093 commit bda5054

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

shiny/ui/_theme_brand.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,8 @@ def from_brand(cls, brand: Brand):
244244
def join_str(x: str | None, y: str | None):
245245
return "\n".join([z for z in [x, y] if z is not None])
246246

247-
defaults = bootstrap.defaults or {}
247+
defaults: dict[str, YamlScalarType] = {}
248+
defaults.update(bootstrap.defaults or {})
248249
defaults.update(shiny.defaults or {})
249250

250251
return cls(

0 commit comments

Comments
 (0)