1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-07 16:17:23 +01:00

make a self-signed certificate on a non-primary domain a warning rather than an error, fixes #95

This commit is contained in:
Joshua Tauberer
2014-10-07 20:41:07 +00:00
parent 8566b78202
commit 0441a2e2e3
3 changed files with 18 additions and 6 deletions

View File

@@ -255,6 +255,8 @@ def system_status():
self.items.append({ "type": "ok", "text": message, "extra": [] })
def print_error(self, message):
self.items.append({ "type": "error", "text": message, "extra": [] })
def print_warning(self, message):
self.items.append({ "type": "warning", "text": message, "extra": [] })
def print_line(self, message, monospace=False):
self.items[-1]["extra"].append({ "text": message, "monospace": monospace })
output = WebOutput()