From bc658ee09091d3b8bc90fa837ca58d87ed3a32a6 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 17 Sep 2020 23:17:15 -0700 Subject: small lint fix --- fatcat_scholar/web.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3