Skip to content

Commit 2c1b8b0

Browse files
authored
Merge pull request #3703 from GhostofGeeeee/Subservices
[ChannelSelection] Fix new crash
2 parents 502e665 + 1cae002 commit 2c1b8b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/python/Screens/ChannelSelection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2667,7 +2667,7 @@ def newServicePlayed(self):
26672667
return ret
26682668

26692669
def addToHistory(self, ref):
2670-
if self.history and self.isSubservices(self.history[self.history_pos][0]) and self.isSubservices(self.servicePath[0]): # Only replace subservice
2670+
if self.history and self.servicePath and self.isSubservices(self.history[self.history_pos][0]) and self.isSubservices(self.servicePath[0]): # Only replace subservice
26712671
self.history[self.history_pos] = self.servicePath[:] + [ref]
26722672
return
26732673
if self.delhistpoint is not None:

0 commit comments

Comments
 (0)