fix franceinter radio
This commit is contained in:
parent
76c54b7ff8
commit
f3b2cea4ea
6 changed files with 26 additions and 22 deletions
|
|
@ -35,7 +35,10 @@ class Emission(CapBaseObject):
|
|||
return False
|
||||
|
||||
def __unicode__(self):
|
||||
return u'%s - %s' % (self.artist, self.title)
|
||||
if self.artist:
|
||||
return u'%s - %s' % (self.artist, self.title)
|
||||
else:
|
||||
return self.title
|
||||
|
||||
class Stream(CapBaseObject):
|
||||
def __init__(self, id):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue