Merge branch 'master' of git.opendreambox.org:/git/enigma2
[vuplus_dvbapp] / lib / python / Plugins / SystemPlugins / Hotplug / plugin.py
index 97ddf4a..e593e94 100644 (file)
@@ -53,7 +53,7 @@ class Hotplug(Protocol):
                
                for callback in hotplugNotifier:
                        try:
-                               callback(dev, media_state)
+                               callback(dev, action or media_state)
                        except AttributeError:
                                hotplugNotifier.remove(callback)