git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
keep selected event when modifying sort order (Moritz Venn)
[enigma2.git]
/
lib
/
python
/
Tools
/
RedirectOutput.py
diff --git
a/lib/python/Tools/RedirectOutput.py
b/lib/python/Tools/RedirectOutput.py
index 83cb5f8c50e6931992523a91cae8b8ef79a27bc0..b4d4e401429ed46fa081a27cd8f605079a277a13 100644
(file)
--- a/
lib/python/Tools/RedirectOutput.py
+++ b/
lib/python/Tools/RedirectOutput.py
@@
-3,8
+3,10
@@
from enigma import ePythonOutput
class EnigmaOutput:
def write(self, data):
class EnigmaOutput:
def write(self, data):
+ if type(data) is unicode:
+ data = data.encode("UTF-8")
ePythonOutput(data)
ePythonOutput(data)
-
+
def flush():
pass
def flush():
pass