"finished" message also when skipping configuration backup
[enigma2.git] / lib / python / Plugins / SystemPlugins / NFIFlash / plugin.py
index 00a9d8f..40914e1 100644 (file)
@@ -1,5 +1,9 @@
 def Plugins(**kwargs):
        from Plugins.Plugin import PluginDescriptor
+       from Tools.HardwareInfo import HardwareInfo
+       # currently only available for DM8000
+       if HardwareInfo().get_device_name() != "dm8000":
+               return [PluginDescriptor()]
        from Tools.Directories import fileExists
        if fileExists("/usr/share/bootlogo-flasher.mvi"):
                import flasher
@@ -14,5 +18,3 @@ def Plugins(**kwargs):
                        where = [PluginDescriptor.WHERE_PLUGINMENU],
                        fnc = downloader.main), PluginDescriptor(name="nfi", where = PluginDescriptor.WHERE_FILESCAN, fnc = downloader.filescan)
                        ]
-                       #,
-                       #PluginDescriptor(name="nfi", where = PluginDescriptor.WHERE_WIZARD, fnc = (1,downloader.NFIDownload)) ]