Formatting
This commit is contained in:
parent
8e6f6b8894
commit
24088d63e0
|
@ -222,10 +222,8 @@ class AirtimeApiClient(object):
|
||||||
def get_liquidsoap_data(self, pkey, schedule):
|
def get_liquidsoap_data(self, pkey, schedule):
|
||||||
playlist = schedule[pkey]
|
playlist = schedule[pkey]
|
||||||
data = dict()
|
data = dict()
|
||||||
try:
|
try: data["schedule_id"] = playlist['id']
|
||||||
data["schedule_id"] = playlist['id']
|
except Exception: data["schedule_id"] = 0
|
||||||
except Exception:
|
|
||||||
data["schedule_id"] = 0
|
|
||||||
return data
|
return data
|
||||||
|
|
||||||
def get_shows_to_record(self):
|
def get_shows_to_record(self):
|
||||||
|
|
Loading…
Reference in New Issue