1
0
mirror of https://github.com/gsi-upm/senpy synced 2025-08-24 10:32:20 +00:00

tweaks for py2/py3 compatibility

This commit is contained in:
J. Fernando Sánchez
2019-01-09 19:29:24 +01:00
parent 80acb9307c
commit bb6f9ee367
7 changed files with 35 additions and 18 deletions

View File

@@ -41,7 +41,6 @@ class TaigerPlugin3cats(SentimentPlugin):
value = 1
else:
raise ValueError('unknown polarity: {}'.format(value))
print(value, 'whatsup')
return polarity, value
def analyse_entry(self, entry, params):