Permalink
Browse files

[branding] correct getDistro module name.

  • Loading branch information...
1 parent 6325f89 commit 8361f50bff656295d835e0cc3ae4345016e75149 @andyblac andyblac committed Jan 17, 2014
Showing with 4 additions and 4 deletions.
  1. +2 −2 audiosync/src/plugin.py
  2. +2 −2 remotetimer/src/plugin.py
View
@@ -2,7 +2,7 @@
from . import _
from Components.config import config, ConfigSubsection, ConfigInteger, ConfigSubList
-from boxbranding import getDistro
+from boxbranding import getImageDistro
from Plugins.Plugin import PluginDescriptor
from Screens.MessageBox import MessageBox
import AC3main
@@ -26,7 +26,7 @@ def main(session, **kwargs):
session.open(AC3main.AC3LipSync, plugin_path)
def startSetup(menuid, **kwargs):
- if getDistro() == "ventonsupport":
+ if getImageDistro() == "ventonsupport":
if menuid == "expert":
return [(_("Audio Sync Setup"), setup, "audiosync_setup", 41)]
else:
@@ -34,7 +34,7 @@
from RecordTimer import AFTEREVENT
from enigma import eEPGCache
-from boxbranding import getDistro
+from boxbranding import getImageDistro
from Tools.BoundFunction import boundFunction
@@ -415,7 +415,7 @@ def main(session, **kwargs):
def Plugins(**kwargs):
plugin = []
- if getDistro() in ("openvix", "openatv"):
+ if getImageDistro() in ("openvix", "openatv"):
plugin.append(PluginDescriptor(name=_("Remote Timer"), description = _("Remote Timer Setup"), where=PluginDescriptor.WHERE_MENU, fnc=timermenu))
else:
plugin.append(PluginDescriptor(name="Remote Timer",description="Remote Timer Setup", where = [ PluginDescriptor.WHERE_PLUGINMENU ], icon="remotetimer.png", fnc = main))

0 comments on commit 8361f50

Please sign in to comment.