kopia lustrzana https://github.com/micropython/micropython-lib
cgi: Cannot override sys.stderr in MicroPython.
rodzic
420e73e9a4
commit
61c7a21905
|
@ -881,7 +881,7 @@ def test(environ=os.environ):
|
||||||
"""
|
"""
|
||||||
print("Content-type: text/html")
|
print("Content-type: text/html")
|
||||||
print()
|
print()
|
||||||
sys.stderr = sys.stdout
|
#sys.stderr = sys.stdout
|
||||||
try:
|
try:
|
||||||
form = FieldStorage() # Replace with other classes to test those
|
form = FieldStorage() # Replace with other classes to test those
|
||||||
print_directory()
|
print_directory()
|
||||||
|
|
Ładowanie…
Reference in New Issue