Browse Source

TinyDnsSource python3

pull/384/head
Ross McFarland 6 years ago
parent
commit
0708b797da
No known key found for this signature in database GPG Key ID: 61C10C4FC8FE4A89
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      octodns/source/tinydns.py

+ 2
- 1
octodns/source/tinydns.py 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:


Loading…
Cancel
Save