File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -207,12 +207,12 @@ class ExampleStrategy(Player):
207
207
# Loop through each of the entries in the filter_functions dict and, if
208
208
# that filter is defined in the supplied filterset, call the relevant
209
209
# function and record its result in the passes_filters list.
210
- for filter , filter_function in filter_functions .items ():
210
+ for _filter , filter_function in filter_functions .items ():
211
211
212
- if filterset .get (filter , None ) is not None :
212
+ if filterset .get (_filter , None ) is not None :
213
213
kwargs = filter_function .kwargs
214
214
kwargs ['strategy' ] = strategy
215
- kwargs ['value' ] = filterset [filter ]
215
+ kwargs ['value' ] = filterset [_filter ]
216
216
passes_filters .append (filter_function .function (** kwargs ))
217
217
218
218
# Return True if the strategy passed all the supplied filters
You can’t perform that action at this time.
0 commit comments