From 1d2e24be1733d29c39dd87b724976d8b6a69579a Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Sat, 5 Dec 2020 15:08:08 -0500 Subject: [PATCH] test --- fHDHR/origin/origin_epg.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fHDHR/origin/origin_epg.py b/fHDHR/origin/origin_epg.py index d59f5e9..2b3bbd1 100644 --- a/fHDHR/origin/origin_epg.py +++ b/fHDHR/origin/origin_epg.py @@ -64,7 +64,9 @@ class OriginEPG(): "&dateString=%s" "&count=150" % (self.media_url, schedulename_quote, datestring)) - epgguide.extend(self.get_cached(epgname, todaydate, schedule_url)) + curr_epg = self.get_cached(epgname, todaydate, schedule_url) + if curr_epg: + epgguide.extend(curr_epg) offset = '+00:00' if "pst" in c["origin_id"]: