refactor: rename display_filters to log_filters as a more accurate method name

This commit is contained in:
Minwei Xu 2024-05-23 21:41:31 -04:00
parent 489dd5ed0d
commit 9afda44d59
3 changed files with 4 additions and 4 deletions

View file

@ -819,7 +819,7 @@ def run_collection(config, library, metadata, requested_collections):
else:
raise Failed(e)
builder.display_filters()
builder.log_filters()
if len(builder.found_items) > 0 and len(builder.found_items) + builder.beginning_count >= builder.minimum and builder.build_collection:
items_added, items_unchanged = builder.add_to_collection()
@ -1013,7 +1013,7 @@ def run_playlists(config):
else:
ids = builder.gather_ids(method, value)
builder.display_filters()
builder.log_filters()
builder.filter_and_save_items(ids)
if len(builder.found_items) > 0 and len(builder.found_items) + builder.beginning_count >= builder.minimum:

View file

@ -1270,7 +1270,7 @@ class CollectionBuilder:
def check_filters(self, item, display):
return self.missing_filters_util.check_filters(item, display)
def display_filters(self):
def log_filters(self):
if self.filters:
for filter_list in self.filters:
logger.info("")

View file

@ -597,7 +597,7 @@ class Overlays:
prop_name = builder.overlay.mapping_name
properties[prop_name] = builder.overlay
builder.display_filters()
builder.log_filters()
for method, value in builder.builders:
logger.debug("")