Skip to content

Commit

Permalink
convert_unicode on the String type
Browse files Browse the repository at this point in the history
  • Loading branch information
Mallikarjunarao Kosuri authored and gunthercox committed Aug 1, 2017
1 parent 04b064e commit 1a270f8
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 @@ -116,7 +116,7 @@ def __init__(self, **kwargs):
if database_name:
self.database_uri = "sqlite:///" + database_name + ".db"

self.engine = create_engine(self.database_uri)
self.engine = create_engine(self.database_uri, convert_unicode=True)

self.read_only = self.kwargs.get(
"read_only", False
Expand Down

0 comments on commit 1a270f8

Please sign in to comment.