mirror of https://github.com/dirtbags/moth.git
fix devel-server 500s
This commit is contained in:
parent
846643dcb0
commit
6a568315e0
|
@ -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