mirror of
https://github.com/gsi-upm/senpy
synced 2025-08-23 18:12:20 +00:00
Added timeout meaningCloud. This should fix #5
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user