Set default timeout to 5 s
@@ -34,6 +34,9 @@ class HttpConfig(dict):
"""
+ def __init__(self, *args, **kwargs):
+ super().__init__(*args, **kwargs)
+ self['timeout']=5
def save_keys(self, name, value):
if name=='nosslcheck':
self['context']=ssl._create_unverified_context()
