83cb5f8c50e6931992523a91cae8b8ef79a27bc0
[enigma2.git] / lib / python / Tools / RedirectOutput.py
1 import sys
2 from enigma import ePythonOutput
3
4 class EnigmaOutput:
5         def write(self, data):
6                 ePythonOutput(data)
7         
8         def flush():
9                 pass
10
11 sys.stdout = sys.stderr = EnigmaOutput()