From fa639d8aa9da0b431511733327033a552abf6185 Mon Sep 17 00:00:00 2001 From: Christophe Vandeplas Date: Thu, 21 May 2020 21:46:24 +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 78bedcf7c..d0a7d1c6c 100644 --- a/pymisp/api.py +++ b/pymisp/api.py @@ -105,7 +105,7 @@ def __init__(self, url: str, key: str, ssl: bool=True, debug: bool=False, proxie self.cert: Optional[Tuple[str, tuple]] = cert self.auth: Optional[AuthBase] = auth self.tool: str = tool - self.timeout: Optional[float, Tuple[float, float]] = timeout + self.timeout: Optional[float, Tuple[float, float], None] = timeout self.global_pythonify = False