Skip to content

Commit

Permalink
Merge pull request #315 from SELab-2/backend_extras
Browse files Browse the repository at this point in the history
Kleine bugfix
  • Loading branch information
LGDTimtou authored May 23, 2024
2 parents aebce79 + 52eafa2 commit c37715d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion api/models/indiening.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ def save(self, *args, **kwargs):
"temp", f"indiening_{self.indiening_id}"
)
default_storage.save(new_path, ContentFile(old_file.read()))
old_file.storage.delete(old_file.name)
self.bestand.name = new_path

super(Indiening, self).save(*args, **kwargs)
Expand Down

0 comments on commit c37715d

Please sign in to comment.