calcurse-caldav: Make InsecureSSL optional
This commit is contained in:
parent
dcdc792178
commit
439197dc4c
@ -335,7 +335,11 @@ except FileNotFoundError as e:
|
||||
|
||||
hostname = config.get('General', 'HostName')
|
||||
path = config.get('General', 'Path').rstrip('/') + '/'
|
||||
|
||||
if config.has_option('General', 'InsecureSSL'):
|
||||
insecure_ssl = config.getboolean('General', 'InsecureSSL')
|
||||
else:
|
||||
insecure_ssl = False
|
||||
|
||||
if config.has_option('General', 'Binary'):
|
||||
calcurse = config.get('General', 'Binary')
|
||||
|
Loading…
x
Reference in New Issue
Block a user