From f8de06c4d93af2e748a6ad37346ded82bad11306 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Fri, 19 May 2017 21:48:47 +0200 Subject: [PATCH] [DEV] add 1 level of search .island --- island/env.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/island/env.py b/island/env.py index 593eeaa..24bce1e 100644 --- a/island/env.py +++ b/island/env.py @@ -37,12 +37,12 @@ elif os.path.exists(os.path.join(island_root_path, "..", "..", "." + get_system_ island_root_path = os.path.join(os.getcwd(), "..", "..") elif os.path.exists(os.path.join(island_root_path, "..", "..", "..", "." + get_system_base_name())) == True: island_root_path = os.path.join(os.getcwd(), "..", "..", "..") -elif os.path.exists(os.path.join(island_root_path, "..", "..", "..", "." + get_system_base_name())) == True: - island_root_path = os.path.join(os.getcwd(), "..", "..", "..") elif os.path.exists(os.path.join(island_root_path, "..", "..", "..", "..", "." + get_system_base_name())) == True: island_root_path = os.path.join(os.getcwd(), "..", "..", "..", "..") elif os.path.exists(os.path.join(island_root_path, "..", "..", "..", "..", "..", "." + get_system_base_name())) == True: island_root_path = os.path.join(os.getcwd(), "..", "..", "..", "..", "..") +elif os.path.exists(os.path.join(island_root_path, "..", "..", "..", "..", "..", "..", "." + get_system_base_name())) == True: + island_root_path = os.path.join(os.getcwd(), "..", "..", "..", "..", "..", "..") else: #debug.error("the root path of " + get_system_base_name() + " must not be upper that 6 parent path") pass