From 198513660e296fc4d9cfdc52e11a3a83ac337c04 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Mon, 18 Jan 2016 21:05:07 +0100 Subject: [PATCH] [DEV] Change and test the subfolder force parsing --- lutin/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lutin/__init__.py b/lutin/__init__.py index 919dbb5..91d3b90 100755 --- a/lutin/__init__.py +++ b/lutin/__init__.py @@ -68,7 +68,8 @@ def import_path_local(path, limit_sub_folder, exclude_path = [], base_name = "") if len(tmp_list_lutin_file) != 0: need_parse_sub_folder = False # check if the file "lutin_parse_sub.py" is present ==> parse SubFolder (force and add +1 in the resursing - if base_name + "parse_sub.py" in list_files: + if base_name + "ParseSubFolders.txt" in list_files: + debug.debug("find SubParser ... " + str(base_name + "ParseSubFolders.txt") + " " + path) need_parse_sub_folder = True rm_value = 0 if need_parse_sub_folder == True: