diff --git a/CTFd/__init__.py b/CTFd/__init__.py index a076722..b922a7c 100644 --- a/CTFd/__init__.py +++ b/CTFd/__init__.py @@ -96,7 +96,7 @@ class ThemeLoader(FileSystemLoader): return super(ThemeLoader, self).get_source(environment, template) # Load regular theme data - theme = utils.get_config("ctf_theme") + theme = str(utils.get_config("ctf_theme")) template = "/".join([theme, "templates", template]) return super(ThemeLoader, self).get_source(environment, template)