From 6d80eea649416e8f0f184c9a7fce245a54ee595d Mon Sep 17 00:00:00 2001 From: Florent Daigniere Date: Thu, 17 Mar 2022 11:35:31 +0100 Subject: [PATCH] ghostwheel42's suggestion --- core/nginx/letsencrypt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/nginx/letsencrypt.py b/core/nginx/letsencrypt.py index 23397d2a..9c998fe2 100755 --- a/core/nginx/letsencrypt.py +++ b/core/nginx/letsencrypt.py @@ -4,7 +4,7 @@ import os import time import subprocess -hostnames = ','.join(set([host.strip() for host in os.environ['HOSTNAMES'].split(',')])) +hostnames = ','.join(set(host.strip() for host in os.environ['HOSTNAMES'].split(','))) command = [ "certbot",