Skip to content

Commit

Permalink
removed unique_name
Browse files Browse the repository at this point in the history
  • Loading branch information
gecBurton committed Oct 25, 2024
1 parent 30695f0 commit aa666ee
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions django_app/redbox_app/redbox_core/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -615,10 +615,6 @@ def url(self) -> URL | None:

@property
def name(self) -> str:
if self.status in INACTIVE_STATUSES:
logger.exception("Attempt to access unique_name for inactive file %s with status %s", self.pk, self.status)
raise InactiveFileError(self)

if self.original_file_name: # delete me?
return self.original_file_name

Expand Down

0 comments on commit aa666ee

Please sign in to comment.