aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-09-17 23:17:15 -0700
committerBryan Newbold <bnewbold@archive.org>2020-09-17 23:17:15 -0700
commitbc658ee09091d3b8bc90fa837ca58d87ed3a32a6 (patch)
treedc565b63fc92e8ff36bf7ab6bbd2652f853758b5
parent360726ab527ca736f3ff8359e8c6101926017e3e (diff)
downloadfatcat-scholar-bc658ee09091d3b8bc90fa837ca58d87ed3a32a6.tar.gz
fatcat-scholar-bc658ee09091d3b8bc90fa837ca58d87ed3a32a6.zip
small lint fix
-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)