This commit is contained in:
bkfox
2020-05-20 12:16:03 +02:00
parent 84483ecd3c
commit 58f9262e59
2 changed files with 3 additions and 2 deletions

View File

@ -39,8 +39,6 @@ class Episode(Page):
return super().get_absolute_url()
def save(self, *args, **kwargs):
if self.cover is None:
self.cover = self.program.cover
if self.parent is None:
raise ValueError('missing parent program')
super().save(*args, **kwargs)