Skip to content

Commit

Permalink
Revert "[ChannelSelection] Avoid BSoD from some badly coded plugins"
Browse files Browse the repository at this point in the history
This reverts commit 1f88c91.

I have reverted this as it can be handled in the plugins.
  • Loading branch information
Huevos committed Nov 27, 2021
1 parent 2d25be2 commit c74bfa9
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions lib/python/Screens/ChannelSelection.py
Original file line number Diff line number Diff line change
Expand Up @@ -2040,12 +2040,7 @@ def __init__(self, session):
})

if type(self) is ChannelSelection:
try:
assert ChannelSelection.instance is None, "class InfoBar is a singleton class and just one instance of this class is allowed!"
except Exception as err:
print("%s: '%s'" % (type(err).__name__, err))
import traceback
traceback.print_exc()
assert ChannelSelection.instance is None, "class InfoBar is a singleton class and just one instance of this class is allowed!"
ChannelSelection.instance = self
self.startServiceRef = None
self.history = []
Expand Down

0 comments on commit c74bfa9

Please sign in to comment.