1
0
mirror of https://github.com/github/octodns.git synced 2024-05-11 05:55:00 +00:00

TinyDnsSource python3

This commit is contained in:
Ross McFarland
2019-10-07 08:29:50 -07:00
parent e0c5962d79
commit 0708b797da

View File

@@ -67,7 +67,8 @@ class TinyDnsBaseSource(BaseSource):
values = []
for record in records:
new_value = record[0].decode('unicode-escape').replace(";", "\\;")
new_value = record[0].encode('latin1').decode('unicode-escape') \
.replace(";", "\\;")
values.append(new_value)
try: