Skip to content

Commit

Permalink
Fix #66 (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
raffaem authored Oct 19, 2023
1 parent b36ffa6 commit e754003
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions polyfuzz/polyfuzz.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,15 +141,15 @@ def match(self,
# Custom models
elif isinstance(self.method, BaseMatcher):
self.matches = {self.method.model_id: self.method.match(from_list, to_list)}
logging.info(f"Ran model with model id = {self.method.model_id}")
logger.info(f"Ran model with model id = {self.method.model_id}")

# Multiple custom models
elif isinstance(self.method, Iterable):
self._update_model_ids()
self.matches = {}
for model in self.method:
self.matches[model.model_id] = model.match(from_list, to_list)
logging.info(f"Ran model with model id = {model.model_id}")
logger.info(f"Ran model with model id = {model.model_id}")

return self

Expand Down

0 comments on commit e754003

Please sign in to comment.