diff --git a/ereuse_devicehub/modules/did/views.py b/ereuse_devicehub/modules/did/views.py index fde3b0c8..16921330 100644 --- a/ereuse_devicehub/modules/did/views.py +++ b/ereuse_devicehub/modules/did/views.py @@ -168,13 +168,15 @@ class DidView(View): def get_result(self): components = [] data = { - '@context': ['https://ereuse.org/dpp0.json'], 'document': {}, 'dpp': self.id_dpp, 'algorithm': "sha3_256", 'components': components, } - result = {'data': data} + result = { + '@context': ['https://ereuse.org/dpp0.json'], + 'data': data, + } if self.dpp: data['document'] = self.dpp.snapshot.json_hw