From: Max G Date: Sat, 11 Jul 2020 10:37:08 +0000 (+0300) Subject: Changed to .append() as requested X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=12ee4e0218955f76409c09399f115ba4bf3afa1a;p=stevenblack-hosts.git Changed to .append() as requested --- diff --git a/updateHostsFile.py b/updateHostsFile.py index 34c7032ad..d74375433 100644 --- a/updateHostsFile.py +++ b/updateHostsFile.py @@ -1316,7 +1316,7 @@ def flush_dns_cache(): print_failure(service_msg.format(result="failed")) else: print_success(service_msg.format(result="succeeded")) - restarted_services += [service] + restarted_services.append(service) dns_clean_file = "/etc/init.d/dns-clean" dns_clean_msg = "Flushing the DNS cache via dns-clean executable {result}"