fix devel-server 500s

This commit is contained in:
Neale Pickett 2017-02-02 11:17:03 -07:00
parent 846643dcb0
commit 6a568315e0
1 changed files with 3 additions and 1 deletions

View File

@ -57,7 +57,9 @@ def mdpage(body):
return page(title, mistune.markdown(body, escape=False))
class ThreadingServer(socketserver.ThreadingMixIn, http.server.HTTPServer):
# XXX: What horrors did we unleash with our chdir shenanigans that
# makes this serve 404 and 500 when we mix in ThreadingMixIn?
class ThreadingServer(socketserver.ForkingMixIn, http.server.HTTPServer):
pass