Skip to content

Commit

Permalink
default return none if no matching guide in getWhatsOn
Browse files Browse the repository at this point in the history
  • Loading branch information
jumpmanjay committed Sep 19, 2016
1 parent 3d8255d commit ab3175b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Contents/Services/Shared Code/PyHDHR.pys
Original file line number Diff line number Diff line change
Expand Up @@ -786,6 +786,7 @@ class PyHDHR:
progs = self.ChannelInfos[guideno].getProgramInfos()
if len(progs) > 0:
return progs[0]
return None

def getLiveTVURL(self,guideno):
chaninfo = self.getLiveTVChannelInfo(guideno)
Expand Down

0 comments on commit ab3175b

Please sign in to comment.