From: funilrys Date: Wed, 28 Feb 2018 22:23:30 +0000 (+0100) Subject: Fix tests issue. X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=f5c8ac58b281b224c9c7d71a121a2219c1b97872;p=stevenblack-hosts.git Fix tests issue. This patch fix https://travis-ci.org/funilrys/hosts/jobs/347500695#L399 --- diff --git a/updateHostsFile.py b/updateHostsFile.py index 5e0002983..952624735 100644 --- a/updateHostsFile.py +++ b/updateHostsFile.py @@ -1173,7 +1173,7 @@ def domain_to_idna(line): splited_line[1] = splited_line[1] \ .split(comment_to_append)[0] \ .encode("IDNA").decode("UTF-8") + \ - '#' + comment_to_append[1] + '#' + comment_to_append[1] else: splited_line[1] = splited_line[1] \ .encode("IDNA") \