forked from rc/aircox
fix #4: more diffusion info on admin dashboard
This commit is contained in:
@ -252,7 +252,7 @@ class Diffusion(BaseRerun):
|
||||
return self.type == self.TYPE_ON_AIR and \
|
||||
self.start <= now and self.end >= now
|
||||
|
||||
# TODO: property?
|
||||
@property
|
||||
def is_live(self):
|
||||
""" True if Diffusion is live (False if there are sounds files). """
|
||||
return self.type == self.TYPE_ON_AIR and \
|
||||
|
Reference in New Issue
Block a user