add missing ,
This commit is contained in:
parent
ae5aacd607
commit
43ec06ce90
|
@ -118,7 +118,7 @@ def station_post_saved(sender, instance, created, *args, **kwargs):
|
||||||
|
|
||||||
@receiver(post_save, sender=aircox.Program)
|
@receiver(post_save, sender=aircox.Program)
|
||||||
def program_post_saved(sender, instance, created, *args, **kwargs):
|
def program_post_saved(sender, instance, created, *args, **kwargs):
|
||||||
if not created or not hasattr(instance 'page'):
|
if not created or not hasattr(instance, 'page'):
|
||||||
return
|
return
|
||||||
|
|
||||||
settings = utils.get_station_settings(instance.station)
|
settings = utils.get_station_settings(instance.station)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user