Commit 3e0e65e1 authored by J. Fernando Sánchez's avatar J. Fernando Sánchez
Browse files

tweaks for py2/py3 compatibility

parent e36fc4dd
...@@ -41,7 +41,6 @@ class TaigerPlugin3cats(SentimentPlugin): ...@@ -41,7 +41,6 @@ class TaigerPlugin3cats(SentimentPlugin):
value = 1 value = 1
else: else:
raise ValueError('unknown polarity: {}'.format(value)) raise ValueError('unknown polarity: {}'.format(value))
print(value, 'whatsup')
return polarity, value return polarity, value
def analyse_entry(self, entry, params): def analyse_entry(self, entry, params):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment