FEATURE: Registry JSON file is now written in a more pretty way

This commit is contained in:
Dominique Barton 2019-02-21 18:51:40 +01:00
parent 2162ff3c70
commit 95c49a1456

View file

@ -73,7 +73,7 @@ class RegistryDict(dict):
LOGGER.debug('Writing registry to %s', self.registry_path)
with open(self.registry_path, 'w') as f:
json.dump(self, f)
json.dump(self, f, indent=4)
REGISTRY = RegistryDict()