Commit f615daf2 authored by augustin_s's avatar augustin_s 🐍
Browse files

cleanup

parent a60adb28
#!/usr/bin/env python3
from glob import glob
from io import StringIO
from contextlib import redirect_stdout, redirect_stderr
from functools import lru_cache
from glob import glob
from io import StringIO
import http.server
import socketserver
......@@ -43,6 +43,7 @@ class ScriptServer(http.server.SimpleHTTPRequestHandler):
print(msg)
def run_script(fn):
sio = StringIO()
with redirect_stdout(sio), redirect_stderr(sio):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment