Formatting

This commit is contained in:
Rudi Grinberg 2012-10-31 10:48:14 -04:00
parent 8e6f6b8894
commit 24088d63e0
1 changed files with 2 additions and 4 deletions

View File

@ -222,10 +222,8 @@ class AirtimeApiClient(object):
def get_liquidsoap_data(self, pkey, schedule):
playlist = schedule[pkey]
data = dict()
try:
data["schedule_id"] = playlist['id']
except Exception:
data["schedule_id"] = 0
try: data["schedule_id"] = playlist['id']
except Exception: data["schedule_id"] = 0
return data
def get_shows_to_record(self):