diff --git a/lib/python/Screens/ChannelSelection.py b/lib/python/Screens/ChannelSelection.py index 2c9510afea2..26028f62bbc 100644 --- a/lib/python/Screens/ChannelSelection.py +++ b/lib/python/Screens/ChannelSelection.py @@ -2667,7 +2667,7 @@ def newServicePlayed(self): return ret def addToHistory(self, ref): - if self.history and self.isSubservices(self.history[self.history_pos][0]) and self.isSubservices(self.servicePath[0]): # Only replace subservice + if self.history and self.servicePath and self.isSubservices(self.history[self.history_pos][0]) and self.isSubservices(self.servicePath[0]): # Only replace subservice self.history[self.history_pos] = self.servicePath[:] + [ref] return if self.delhistpoint is not None: