diff options
| author | Fraxinas <andreas.frisch@multimedia-labs.de> | 2008-11-17 23:17:46 +0100 |
|---|---|---|
| committer | Fraxinas <andreas.frisch@multimedia-labs.de> | 2008-11-17 23:17:46 +0100 |
| commit | cd51d1c8a2ec341b4202689e693b7bf012610d0d (patch) | |
| tree | ba00753998760a4b0663d5b55b1c76abcc93782a /lib/python/Plugins | |
| parent | b19b6c15482681e331f346acb56b1566102e1418 (diff) | |
| download | enigma2-cd51d1c8a2ec341b4202689e693b7bf012610d0d.tar.gz enigma2-cd51d1c8a2ec341b4202689e693b7bf012610d0d.zip | |
change hotplugNotifier to return correct state transition for cd-rom type and flash type devices
Diffstat (limited to 'lib/python/Plugins')
| -rw-r--r-- | lib/python/Plugins/SystemPlugins/Hotplug/plugin.py | 2 |
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) |
