Make boxesserver compatible with mod_wsgi

This commit is contained in:
Florian Festi 2016-05-20 20:55:02 +02:00
parent 6e9b70b248
commit 333d143b28
1 changed files with 2 additions and 0 deletions

View File

@ -191,3 +191,5 @@ if __name__=="__main__":
httpd = make_server('', 8000, boxserver.serve)
print("Serving on port 8000...")
httpd.serve_forever()
else:
application = BServer().serve