aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFraxinas <andreas.frisch@multimedia-labs.de>2008-11-17 23:17:46 +0100
committerFraxinas <andreas.frisch@multimedia-labs.de>2008-11-17 23:17:46 +0100
commitcd51d1c8a2ec341b4202689e693b7bf012610d0d (patch)
treeba00753998760a4b0663d5b55b1c76abcc93782a
parentb19b6c15482681e331f346acb56b1566102e1418 (diff)
downloadenigma2-cd51d1c8a2ec341b4202689e693b7bf012610d0d.tar.gz
enigma2-cd51d1c8a2ec341b4202689e693b7bf012610d0d.zip
change hotplugNotifier to return correct state transition for cd-rom type and flash type devices
-rw-r--r--lib/python/Plugins/SystemPlugins/Hotplug/plugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/Plugins/SystemPlugins/Hotplug/plugin.py b/lib/python/Plugins/SystemPlugins/Hotplug/plugin.py
index 97ddf4a1..e593e942 100644
--- a/lib/python/Plugins/SystemPlugins/Hotplug/plugin.py
+++ b/lib/python/Plugins/SystemPlugins/Hotplug/plugin.py
@@ -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)