1
0
mirror of https://github.com/gsi-upm/senpy synced 2024-11-13 04:02:29 +00:00

Added timeout meaningCloud. This should fix #5

This commit is contained in:
militarpancho 2017-03-09 14:21:22 +01:00
parent 241f478a68
commit 9f7a0e6907

View File

@ -24,7 +24,7 @@ class DaedalusPlugin(SentimentPlugin):
'txt': txt,
'src': 'its-not-a-real-python-sdk'
}
r = requests.post(api, params=parameters)
r = requests.post(api, params=parameters, timeout=3)
value = r.json().get('score_tag', None)
if not value: