Merge branch 'bug_202_networkconfig_cleanup'
[enigma2.git] / lib / python / Tools / RedirectOutput.py
index b4d4e401429ed46fa081a27cd8f605079a277a13..d03a1d97cc802c345a835b16949bc1da1195ec2d 100644 (file)
@@ -3,7 +3,7 @@ from enigma import ePythonOutput
 
 class EnigmaOutput:
        def write(self, data):
-               if type(data) is unicode:
+               if isinstance(data, unicode):
                        data = data.encode("UTF-8")
                ePythonOutput(data)