Merge pull request #4 from C-Duv/makes_timeout_option_optional

Make the timeout option optional
This commit is contained in:
Rui Carmo 2018-01-11 13:49:06 +00:00 committed by GitHub
commit 34f91dca13
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -536,6 +536,8 @@ def get_config():
config['port'] = 993
else:
config['port'] = 143
if not 'timeout' in config:
config['timeout'] = 60
# done!
return config