Fix tests issue.

This patch fix https://travis-ci.org/funilrys/hosts/jobs/347500695#L399
This commit is contained in:
funilrys
2018-02-28 23:23:30 +01:00
parent 079d5ddd7f
commit f5c8ac58b2
+1 -1
View File
@@ -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") \