Skip to content

Commit

Permalink
Update SQL Alchemy version
Browse files Browse the repository at this point in the history
  • Loading branch information
gunthercox committed Jan 13, 2018
1 parent d76c62e commit c9b51a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion chatterbot/storage/sql_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,8 @@ def filter(self, **kwargs):
if isinstance(_filter, list):
if len(_filter) == 0:
_query = _response_query.filter(
Statement.in_response_to == None) # NOQA Here must use == instead of is
Statement.in_response_to == None # NOQA Here must use == instead of is
)
else:
for f in _filter:
_query = _response_query.filter(
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ nltk>=3.2,<4.0
pymongo>=3.3,<4.0
python-dateutil>=2.6,<2.7
python-twitter>=3.0,<4.0
sqlalchemy>=1.1,<1.2
sqlalchemy>=1.2,<1.3

0 comments on commit c9b51a2

Please sign in to comment.