From 4b3471d24eab7698a13b6164fa767ce0fdea6cb8 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Thu, 31 Oct 2024 10:24:15 +0100 Subject: [PATCH] fix bug --- evidence/management/commands/up_snapshots.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evidence/management/commands/up_snapshots.py b/evidence/management/commands/up_snapshots.py index e2f21eb..2c58e08 100644 --- a/evidence/management/commands/up_snapshots.py +++ b/evidence/management/commands/up_snapshots.py @@ -49,7 +49,7 @@ class Command(BaseCommand): def open(self, filepath): with open(filepath, 'r') as file: content = json.loads(file.read()) - path_name = save_in_disk(data, self.user.institution.name) + path_name = save_in_disk(content, self.user.institution.name) self.snapshots.append((content, path_name)) def parsing(self):