fix bug
This commit is contained in:
parent
e221221783
commit
db0a2e8818
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue