diff --git a/letsencrypt/acme/messages2.py b/letsencrypt/acme/messages2.py index f3ce53665..ecb0d9868 100644 --- a/letsencrypt/acme/messages2.py +++ b/letsencrypt/acme/messages2.py @@ -63,7 +63,7 @@ class _Constant(jose.JSONDeSerializable): def from_json(cls, value): if value not in cls.POSSIBLE_NAMES: raise jose.DeserializationError( - '{} not recognized'.format(cls.__name__)) + '{0} not recognized'.format(cls.__name__)) return cls.POSSIBLE_NAMES[value] def __repr__(self):