diff --git a/client/configuration/search_path.py b/client/configuration/search_path.py index cdb2795b7fc..d55208c9393 100644 --- a/client/configuration/search_path.py +++ b/client/configuration/search_path.py @@ -277,10 +277,8 @@ def add_if_exists(element: Element) -> bool: excepted_path = element.path() if excepted_path is None: return False - if os.path.exists(excepted_path): - elements.append(element) - return True - return False + elements.append(element) + return True for raw_element in raw_elements: expanded_raw_elements = raw_element.expand_glob()