From 047026df6caa9fad6b5e4c45216a9a57a65968f6 Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Sun, 8 Jan 2017 05:28:13 +0100 Subject: [PATCH] [mod] remove () --- src/yunohost/certificate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/yunohost/certificate.py b/src/yunohost/certificate.py index eb1e44732..b91bc74b6 100644 --- a/src/yunohost/certificate.py +++ b/src/yunohost/certificate.py @@ -823,7 +823,7 @@ def _domain_is_resolved_locally(public_ip, domain): except socket.error: return False - return (ip in ["127.0.0.1", public_ip]) + return ip in ["127.0.0.1", public_ip] def _name_self_CA():