--- a/QScintilla/Printer.py Sun Mar 24 13:52:12 2013 +0100 +++ b/QScintilla/Printer.py Mon Mar 25 03:11:06 2013 +0100 @@ -7,6 +7,8 @@ Module implementing the printer functionality. """ +from __future__ import unicode_literals # __IGNORE_WARNING__ + from PyQt4.QtCore import QTime, QDate, Qt from PyQt4.QtGui import QColor, QPrinter, QApplication from PyQt4.Qsci import QsciPrinter @@ -24,7 +26,7 @@ @param mode mode of the printer (QPrinter.PrinterMode) """ - super().__init__(mode) + super(Printer, self).__init__(mode) self.setMagnification(Preferences.getPrinter("Magnification")) if Preferences.getPrinter("ColorMode"):