diff --git a/src/authentic2_wallonie_connect/management/commands/wc-base-import.py b/src/authentic2_wallonie_connect/management/commands/wc-base-import.py index 35f5eaf..ed0ab4d 100644 --- a/src/authentic2_wallonie_connect/management/commands/wc-base-import.py +++ b/src/authentic2_wallonie_connect/management/commands/wc-base-import.py @@ -80,9 +80,9 @@ class Command(BaseCommand): if not isinstance(contents, list): contents = [contents] self.do(contents=contents) - # contents = {"data": contents} - # with open(path, "w") as fd: - # json.dump(contents, fd, indent=4) + contents = {"data": contents} + with open(path, "w") as fd: + json.dump(contents, fd, indent=4) def info(self, *args, **kwargs): if self.verbosity >= 1: