mirror of
https://github.com/Kunsi/pretalx-plugin-broadcast-tools
synced 2025-04-21 22:04:29 +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"
|
template_name = "pretalx_broadcast_tools/lower_thirds.html"
|
||||||
|
|
||||||
def css_url(self):
|
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}")
|
return static(f"pretalx_broadcast_tools/{css}")
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue