mirror of https://github.com/MISP/PyMISP
fix: fixes bug in timeout change
parent
d745d5b226
commit
d09852fa4b
|
@ -92,7 +92,7 @@ class PyMISP:
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self, url: str, key: str, ssl: bool=True, debug: bool=False, proxies: Mapping={},
|
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[float, float]]=None):
|
cert: Tuple[str, tuple]=None, auth: AuthBase=None, tool: str='', timeout: Union[float, Tuple[float, float], None]=None):
|
||||||
if not url:
|
if not url:
|
||||||
raise NoURL('Please provide the URL of your MISP instance.')
|
raise NoURL('Please provide the URL of your MISP instance.')
|
||||||
if not key:
|
if not key:
|
||||||
|
|
Loading…
Reference in New Issue