This commit is contained in:
zy 2022-09-17 00:16:45 +08:00
parent e221221783
commit db0a2e8818
1 changed files with 1 additions and 1 deletions

View File

@ -284,7 +284,7 @@ def factor_extractor(function_id_1: int, function_id_2: int, mysqlOp: MySQLOpera
path_2 = re.split("[\\\\ |/]", filepath_2, 1)
if (path_1[0] == "test" or path_1[0] == "Test") and is_test <= 2:
is_test = is_test + 1
if (path_1[1] == "test" or path_1[0] == "Test") and is_test <= 2:
if (path_2[0] == "test" or path_2[0] == "Test") and is_test <= 2:
is_test = is_test + 1
if path_1[0] == path_2[0]:
del path_1[0]