From 4cfbc102d21302d774b558230f10252b40170944 Mon Sep 17 00:00:00 2001
From: Christian Pointner <equinox@helsinki.at>
Date: Wed, 3 Aug 2016 21:12:53 +0200
Subject: [PATCH] hotfix: show has no automation_id anymore

---
 program/views.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/program/views.py b/program/views.py
index 6a53e82a..cfebbd1b 100644
--- a/program/views.py
+++ b/program/views.py
@@ -208,8 +208,6 @@ def json_day_schedule(request, year=None, month=None, day=None):
 
         if ts.programslot.automation_id:
             entry['automation-id'] = ts.programslot.automation_id
-        elif ts.programslot.show.automation_id:
-            entry['automation-id'] = ts.programslot.show.automation_id
 
         schedule.append(entry)
 
-- 
GitLab