Skip to content

Commit

Permalink
Set extra data parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
gunthercox committed Jun 24, 2017
1 parent 86ba7e9 commit b6c95ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chatterbot/storage/sql_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class StatementTable(Base):
__tablename__ = 'StatementTable'

def get_statement(self):
statement = Statement(self.text, **self.extra_data)
statement = Statement(self.text, extra_data=self.extra_data)
for response in self.in_response_to:
statement.add_response(response.get_response())
return statement
Expand Down

0 comments on commit b6c95ba

Please sign in to comment.