Skip to content

Commit 794bd53

Browse files
committed
Change to single if statement.
1 parent c8e5386 commit 794bd53

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

run_strategy_indexer.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,7 @@ def check_module(module_path,
6666
"""
6767
strategies_index = read_index(index_path)
6868
module_name = get_module_name(module_path)
69-
if module_name not in excluded:
70-
if module_name not in strategies_reference:
69+
if module_name not in excluded and module_name not in strategies_index:
7170
print("{} not in index".format(module_name))
7271
return False
7372
return True

0 commit comments

Comments
 (0)