1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-08-10 22:31:47 +02:00

Replaced double quotes with single ones

This commit is contained in:
Ionut Filip
2019-03-08 14:45:22 +02:00
committed by GitHub
parent f86e054d27
commit dd7710951e

View File

@@ -80,8 +80,8 @@ class ConfigManager(dict):
self.config['HOST_POP3'] = resolve(self.config['HOST_POP3']) self.config['HOST_POP3'] = resolve(self.config['HOST_POP3'])
self.config['HOST_AUTHSMTP'] = resolve(self.config['HOST_AUTHSMTP']) self.config['HOST_AUTHSMTP'] = resolve(self.config['HOST_AUTHSMTP'])
self.config['HOST_SMTP'] = resolve(self.config['HOST_SMTP']) self.config['HOST_SMTP'] = resolve(self.config['HOST_SMTP'])
if self.config["WEBMAIL"] != "none": if self.config['WEBMAIL'] != 'none':
self.config["HOST_WEBMAIL"] = resolve(self.config['HOST_WEBMAIL']) self.config['HOST_WEBMAIL'] = resolve(self.config['HOST_WEBMAIL'])
def __coerce_value(self, value): def __coerce_value(self, value):
if isinstance(value, str) and value.lower() in ('true','yes'): if isinstance(value, str) and value.lower() in ('true','yes'):