Skip to content

Commit

Permalink
Use adapter class name property
Browse files Browse the repository at this point in the history
  • Loading branch information
gunthercox committed Feb 2, 2017
1 parent 17e7345 commit 73b3187
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions chatterbot/logic/multi_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,7 @@ def process(self, statement):
max_confidence = output.confidence
else:
self.logger.info(
'Not processing the statement using {}'.format(
str(adapter.__class__)
)
'Not processing the statement using {}'.format(adapter.class_name)
)

# If multiple adapters agree on the same statement,
Expand Down

0 comments on commit 73b3187

Please sign in to comment.