From d745d5b22642fc239de93c3e3106147aa1accaeb Mon Sep 17 00:00:00 2001 From: Christophe Vandeplas Date: Thu, 21 May 2020 20:44:42 +0200 Subject: [PATCH] fix: fixes bug in timeout change --- pymisp/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pymisp/api.py b/pymisp/api.py index 10b795b..fac0153 100644 --- a/pymisp/api.py +++ b/pymisp/api.py @@ -92,7 +92,7 @@ class PyMISP: """ def __init__(self, url: str, key: str, ssl: bool=True, debug: bool=False, proxies: Mapping={}, - cert: Tuple[str, tuple]=None, auth: AuthBase=None, tool: str='', timeout: Union[float, tuple]=None): + cert: Tuple[str, tuple]=None, auth: AuthBase=None, tool: str='', timeout: Union[float, Tuple[float, float]]=None): if not url: raise NoURL('Please provide the URL of your MISP instance.') if not key: