Skip to content

Commit

Permalink
[plugin.py] "instance" should be a class variable
Browse files Browse the repository at this point in the history
Most likely no one has ever noticed this before because "asserts" are disabled by default in Py2.
  • Loading branch information
Huevos committed Dec 11, 2021
1 parent 10080bc commit cb42ee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ def TunerInfo(type=None):


class HRTunerProxy_Setup(ConfigListScreen, Screen):
instance = None
if isDreamOS: # check if DreamOS image
skin = "%s/skins/dreamos_main.xml" % (path.dirname(modules[__name__].__file__))
else:
Expand All @@ -103,7 +104,6 @@ class HRTunerProxy_Setup(ConfigListScreen, Screen):
f.close()

def __init__(self, session, menu_path=""):
instance = None
Screen.__init__(self, session)
if hasattr(config.usage, 'show_menupath'):
screentitle = _("HR-Tuner Proxy for Enigma2")
Expand Down

0 comments on commit cb42ee2

Please sign in to comment.