fix devel-server 500s

This commit is contained in:
Neale Pickett 2017-02-02 11:17:03 -07:00
parent e749dcb9ee
commit 28c13a592a
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