Skip to content

Commit

Permalink
new version 0.3.28
Browse files Browse the repository at this point in the history
  • Loading branch information
falgore88 committed Jul 4, 2016
1 parent afe8a03 commit 1e50666
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from setuptools import setup


VERSION = "0.3.27"
VERSION = "0.3.28"

setup(
name='ta4',
Expand Down
2 changes: 1 addition & 1 deletion ta4/sentence.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def __eq__(self, other):
return isinstance(other, Sentence) and self.__hash__() == other.__hash__()

def __hash__(self):
return int(md5(self.text).hexdigest(), 16)
return int(md5(self.text.encode('utf-8')).hexdigest(), 16)

def __getitem__(self, item):
return self.place_holders[item]
Expand Down

0 comments on commit 1e50666

Please sign in to comment.