1
0
Fork 0
mirror of https://github.com/Kunsi/pretalx-plugin-broadcast-tools synced 2024-04-29 10:57:26 +00:00

fix the fix

This commit is contained in:
Daniel Havlik 2021-12-25 10:59:19 +01:00 committed by GitHub
parent bdf5493545
commit e024e0e4b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,7 +18,8 @@ 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, "default")
theme = self.request.event.settings.lower_thirds_theme or "default"
css = THEME_CSS.get(theme)
return static(f"pretalx_broadcast_tools/{css}")