mirror of
https://github.com/Kunsi/pretalx-plugin-broadcast-tools
synced 2025-04-19 14:52:20 +00:00
prevent error when the theme has not yet been selected
This commit is contained in:
parent
6f0e5e64ec
commit
bdf5493545
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ class BroadcastToolsLowerThirdsView(TemplateView):
|
|||
template_name = "pretalx_broadcast_tools/lower_thirds.html"
|
||||
|
||||
def css_url(self):
|
||||
css = THEME_CSS.get(self.request.event.settings.lower_thirds_theme)
|
||||
css = THEME_CSS.get(self.request.event.settings.lower_thirds_theme, "default")
|
||||
return static(f"pretalx_broadcast_tools/{css}")
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue