add kwargs support for notifications
[enigma2.git] / lib / python / Screens / InfoBarGenerics.py
index d15200710697fb7f7232aee22c2e1ddd3105215d..2bae4296161dddc43f557636d9ad815957e32303 100644 (file)
@@ -1365,9 +1365,9 @@ class InfoBarNotifications:
                        print "open",n
                        cb = n[0]
                        if cb is not None:
-                               self.session.openWithCallback(cb, *n[1:])
+                               self.session.openWithCallback(cb, n[1], *n[2], **n[3])
                        else:
-                               self.session.open(*n[1:])
+                               self.session.open(n[1], *n[2], **n[3])
 
 class InfoBarServiceNotifications:
        def __init__(self):