--- a/E5Gui/E5Led.py Sun Mar 24 13:52:12 2013 +0100 +++ b/E5Gui/E5Led.py Mon Mar 25 03:11:06 2013 +0100 @@ -9,6 +9,8 @@ It was inspired by KLed. """ +from __future__ import unicode_literals # __IGNORE_WARNING__ + from PyQt4.QtCore import Qt, QSize from PyQt4.QtGui import QWidget, QColor, QRadialGradient, QPalette, QPainter, QBrush @@ -29,7 +31,7 @@ @param shape shape of the LED (E5LedCircular, E5LedRectangular) @param rectRation ratio width to height, if shape is rectangular (float) """ - super().__init__(parent) + super(E5Led, self).__init__(parent) if color is None: color = QColor("green")