1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-11-23 02:27:05 +00:00

Fixed UP034 (extraneous-parentheses): Avoid extraneous parentheses

This commit is contained in:
Teal Dulcet 2023-12-22 07:18:38 -08:00 committed by Joshua Tauberer
parent eefc0514b2
commit 64540fbb44

View File

@ -419,7 +419,7 @@ def ssl_get_status():
{
"domain": d["domain"],
"status": d["ssl_certificate"][0],
"text": d["ssl_certificate"][1] + ((" " + cant_provision[d["domain"]] if d["domain"] in cant_provision else ""))
"text": d["ssl_certificate"][1] + (" " + cant_provision[d["domain"]] if d["domain"] in cant_provision else "")
} for d in domains_status ]
# Warn the user about domain names not hosted here because of other settings.