fix: fixes bug in timeout change

pull/585/head
Christophe Vandeplas 2020-05-21 20:44:42 +02:00
parent 50ee8d9a66
commit d745d5b226
1 changed files with 1 additions and 1 deletions

View File

@ -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: