summaryrefslogtreecommitdiffstats
path: root/fatcat_scholar
diff options
context:
space:
mode:
Diffstat (limited to 'fatcat_scholar')
-rw-r--r--fatcat_scholar/web.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fatcat_scholar/web.py b/fatcat_scholar/web.py
index 5ad301d..e1f276f 100644
--- a/fatcat_scholar/web.py
+++ b/fatcat_scholar/web.py
@@ -225,7 +225,7 @@ ROBOTS_DISALLOW = open("fatcat_scholar/static/robots.disallow.txt", "r").read()
@app.get("/robots.txt", include_in_schema=False)
-async def robots_txt(response_class=PlainTextResponse) -> Any:
+async def robots_txt(response_class: Any = PlainTextResponse) -> Any:
print(ROBOTS_ALLOW)
if settings.SCHOLAR_ENV == "prod":
return PlainTextResponse(ROBOTS_ALLOW)