false not being returned on connection error
This commit is contained in:
parent
56c61d4ab7
commit
7b3850fac6
1 changed files with 4 additions and 4 deletions
|
@ -168,9 +168,9 @@ class AirtimeApiClient(object):
|
|||
|
||||
def get_schedule(self):
|
||||
# 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())
|
||||
except: (False, "")
|
||||
except: return (False, None)
|
||||
|
||||
def notify_liquidsoap_started(self):
|
||||
return self.services.notify_liquidsoap_started()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue