Merge branch '2.3.x' of dev.sourcefabric.org:airtime into 2.3.x

This commit is contained in:
denise 2013-01-25 11:52:22 -05:00
commit c14d1fcfac
1 changed files with 4 additions and 4 deletions

View File

@ -168,9 +168,9 @@ class AirtimeApiClient(object):
def get_schedule(self): def get_schedule(self):
# TODO : properly refactor this routine # TODO : properly refactor this routine
# For now thre return type is a little fucked for compatibility reasons # For now the return type is a little fucked for compatibility reasons
try: return (True, self.services.export_url()) try: return (True, self.services.export_url())
except: (False, "") except: return (False, None)
def notify_liquidsoap_started(self): def notify_liquidsoap_started(self):
return self.services.notify_liquidsoap_started() return self.services.notify_liquidsoap_started()