mirror of
https://github.com/gsi-upm/senpy
synced 2024-12-22 13:08:13 +00:00
Added timeout meaningCloud. This should fix #5
This commit is contained in:
parent
241f478a68
commit
9f7a0e6907
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user