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"]: