diff --git a/eox_theming/theming/template_loaders.py b/eox_theming/theming/template_loaders.py index 54e7361..6095b1c 100644 --- a/eox_theming/theming/template_loaders.py +++ b/eox_theming/theming/template_loaders.py @@ -93,4 +93,6 @@ def get_dirs(self): https://github.com/eduNEXT/edunext-platform/blob/master/openedx/core/djangoapps/theming/template_loaders.py#L39 instead of using the cached values of self.dirs on runtime. """ - return ThemeFilesystemLoader.get_theme_template_sources() + theme_dirs = ThemeFilesystemLoader.get_theme_template_sources() + + return theme_dirs if theme_dirs else super().get_dirs()