cgi: Cannot override sys.stderr in MicroPython.

pull/26/head
Paul Sokolovsky 2015-03-29 01:19:22 +02:00
rodzic 420e73e9a4
commit 61c7a21905
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -881,7 +881,7 @@ def test(environ=os.environ):
"""
print("Content-type: text/html")
print()
sys.stderr = sys.stdout
#sys.stderr = sys.stdout
try:
form = FieldStorage() # Replace with other classes to test those
print_directory()