Skip to content

Commit

Permalink
Update pyenzyme_server.py
Browse files Browse the repository at this point in the history
  • Loading branch information
JR-1991 committed May 12, 2022
1 parent f517802 commit 428a894
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pyenzyme_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
# * Settings
app = FastAPI(title="PyEnzyme REST-API", version="1.2", docs_url="/")

app.mount("/static", StaticFiles(directory="static"), name="static")

templates = Jinja2Templates(directory="static")

Expand Down Expand Up @@ -220,7 +219,7 @@ async def get_enzymeml_template():
summary="Upload the EnzymeML spreadsheet template and convert it to EnzymeML.",
tags=["EnzymeML spreadsheet"],
)
def upload_enzymeml_template(request: Request, response_class=HTMLResponse):
def upload_enzymeml_template(request: Request):
return templates.TemplateResponse("upload.html", {"request": request})


Expand Down

0 comments on commit 428a894

Please sign in to comment.