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

OvhProvider python3

This commit is contained in:
Ross McFarland
2019-10-05 09:18:42 -07:00
parent 484a5118f4
commit 37543e6a76
2 changed files with 3 additions and 3 deletions

View File

@@ -345,7 +345,7 @@ class OvhProvider(BaseProvider):
@staticmethod
def _is_valid_dkim_key(key):
try:
base64.decodestring(key)
base64.decodestring(bytearray(key, 'utf-8'))
except binascii.Error:
return False
return True