refactor: fix clash with autodiscovery

This commit is contained in:
Juro Oravec 2024-04-13 21:34:43 +02:00
parent ddc62c7dfc
commit 003c8ba4d5
3 changed files with 31 additions and 19 deletions

View file

@ -89,7 +89,7 @@ def _resolve_component_relative_files(attrs: MutableMapping) -> None:
# Prepare all possible directories we need to check when searching for
# component's template and media files
components_dirs = search()
components_dirs = search().searched_dirs
# Get the directory where the component class is defined
try: