mirror of
https://github.com/samsonjs/imapbackup.git
synced 2026-03-25 08:45:53 +00:00
Merge pull request #4 from C-Duv/makes_timeout_option_optional
Make the timeout option optional
This commit is contained in:
commit
34f91dca13
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue