forked from rc/aircox
fix error in streamer and on_air
This commit is contained in:
@ -185,7 +185,7 @@ def diffusion_post_saved(sender, instance, created, *args, **kwargs):
|
||||
page.save()
|
||||
return
|
||||
|
||||
if instance.page:
|
||||
if hasattr(instance, 'page'):
|
||||
return
|
||||
|
||||
page = models.DiffusionPage.from_diffusion(
|
||||
|
Reference in New Issue
Block a user