git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
change hotplugNotifier to return correct state transition for cd-rom type and flash...
[enigma2.git]
/
lib
/
python
/
Plugins
/
SystemPlugins
/
Hotplug
/
plugin.py
diff --git
a/lib/python/Plugins/SystemPlugins/Hotplug/plugin.py
b/lib/python/Plugins/SystemPlugins/Hotplug/plugin.py
index 97ddf4a1c44999a08e206b41212417043f827154..e593e942b9338b708a574910ab00b4cf5d1714b9 100644
(file)
--- 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)