Skip to content

Commit

Permalink
Fix hide file bug for newly created plays
Browse files Browse the repository at this point in the history
  • Loading branch information
FinemechanicPub committed Oct 15, 2024
1 parent fd3aa74 commit 6abffb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/library/models/play.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,9 @@ def save(self, *args, **kwargs):
super().save(*args, **kwargs)

if self.published:
restore_play_file(this)
restore_play_file(self)
else:
hide_play_file(this)
hide_play_file(self)
return

def delete(self, *args, **kwargs):
Expand Down

0 comments on commit 6abffb9

Please sign in to comment.