git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'bug_202_networkconfig_cleanup'
[enigma2.git]
/
lib
/
python
/
Tools
/
RedirectOutput.py
diff --git
a/lib/python/Tools/RedirectOutput.py
b/lib/python/Tools/RedirectOutput.py
index b4d4e401429ed46fa081a27cd8f605079a277a13..d03a1d97cc802c345a835b16949bc1da1195ec2d 100644
(file)
--- a/
lib/python/Tools/RedirectOutput.py
+++ b/
lib/python/Tools/RedirectOutput.py
@@
-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)