From 68d7b39fbde92c90b1b11a844da42d69dc8f15dc Mon Sep 17 00:00:00 2001 From: Christopher Byrd Date: Mon, 16 Dec 2024 14:51:30 -0800 Subject: [PATCH] Nit #11689 --- arches/settings_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arches/settings_utils.py b/arches/settings_utils.py index e9e349d3e3..7fa9efa396 100644 --- a/arches/settings_utils.py +++ b/arches/settings_utils.py @@ -35,7 +35,7 @@ def list_arches_app_names(): def list_arches_app_paths(): return [ - config.module.__path__[0] + os.path.realpath(config.module.__path__[0]) for config in apps.get_app_configs() if getattr(config, "is_arches_application", False) ] @@ -149,7 +149,7 @@ def generate_frontend_configuration(): root_dir_path = os.path.realpath(settings.ROOT_DIR) arches_app_names = list_arches_app_names() - arches_app_paths = [os.path.realpath(path) for path in list_arches_app_paths()] + arches_app_paths = list_arches_app_paths() path_lookup = dict(zip(arches_app_names, arches_app_paths, strict=True)) frontend_configuration_settings_data = {