mirror of https://github.com/dirtbags/moth.git
fix devel-server 500s
This commit is contained in:
parent
e749dcb9ee
commit
28c13a592a
|
@ -57,7 +57,9 @@ def mdpage(body):
|
||||||
return page(title, mistune.markdown(body, escape=False))
|
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
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue