Skip to content

Commit

Permalink
Remove exception checks
Browse files Browse the repository at this point in the history
  • Loading branch information
gunthercox committed Jan 25, 2019
1 parent 90fb865 commit f830b65
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions chatterbot/chatterbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,6 @@ def __init__(self, name, **kwargs):
'chatterbot.logic.BestMatch'
])

if 'input_adapter' in kwargs:
raise Exception('input adapter')

if 'output_adapter' in kwargs:
raise Exception('output adapter')

# Check that each adapter is a valid subclass of it's respective parent
utils.validate_adapter_class(storage_adapter, StorageAdapter)

Expand Down

0 comments on commit f830b65

Please sign in to comment.