[DEV] add 1 level of search .island
This commit is contained in:
parent
1d70339f72
commit
f8de06c4d9
@ -37,12 +37,12 @@ elif os.path.exists(os.path.join(island_root_path, "..", "..", "." + get_system_
|
|||||||
island_root_path = os.path.join(os.getcwd(), "..", "..")
|
island_root_path = os.path.join(os.getcwd(), "..", "..")
|
||||||
elif os.path.exists(os.path.join(island_root_path, "..", "..", "..", "." + get_system_base_name())) == True:
|
elif os.path.exists(os.path.join(island_root_path, "..", "..", "..", "." + get_system_base_name())) == True:
|
||||||
island_root_path = os.path.join(os.getcwd(), "..", "..", "..")
|
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:
|
elif os.path.exists(os.path.join(island_root_path, "..", "..", "..", "..", "." + get_system_base_name())) == True:
|
||||||
island_root_path = os.path.join(os.getcwd(), "..", "..", "..", "..")
|
island_root_path = os.path.join(os.getcwd(), "..", "..", "..", "..")
|
||||||
elif os.path.exists(os.path.join(island_root_path, "..", "..", "..", "..", "..", "." + get_system_base_name())) == True:
|
elif os.path.exists(os.path.join(island_root_path, "..", "..", "..", "..", "..", "." + get_system_base_name())) == True:
|
||||||
island_root_path = os.path.join(os.getcwd(), "..", "..", "..", "..", "..")
|
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:
|
else:
|
||||||
#debug.error("the root path of " + get_system_base_name() + " must not be upper that 6 parent path")
|
#debug.error("the root path of " + get_system_base_name() + " must not be upper that 6 parent path")
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user