python3 compatibility

This commit is contained in:
Erica Portnoy 2018-01-10 23:36:39 -08:00
parent 787b0c358f
commit f3395d487c

View file

@ -243,7 +243,7 @@ class NginxHttp01(NginxChallengePerformer):
block.extend([['server_name', ' ', achall.domain],
[['location', ' ', '=', ' ', validation_path],
[['default_type', ' ', 'text/plain'],
['return', ' ', '200', ' ', validation.encode()]]]])
['return', ' ', '200', ' ', validation]]]])
return [['server'], block]