Skip to content
Permalink
Browse files

implement wsgi compliance

  • Loading branch information
FAUSheppy committed Feb 21, 2020
1 parent 5c656f4 commit 169601f4c5d707f2b7e6bd18e7de27954d1e5ee1
Showing with 6 additions and 0 deletions.
  1. +3 −0 app.py
  2. +3 −0 open-leaderboard-server.py → server.py
3 app.py
@@ -0,0 +1,3 @@
import server
def createApp(envivorment=None, start_response=None):
return server.app
@@ -155,6 +155,9 @@ def leaderboard():
def send_js(path):
return send_from_directory('static', path)

@app.before_first_request
def init():
pass

if __name__ == "__main__":
parser = argparse.ArgumentParser(description='Start open-leaderboard', \

0 comments on commit 169601f

Please sign in to comment.
You can’t perform that action at this time.