aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-10-21 16:39:56 -0700
committerBryan Newbold <bnewbold@archive.org>2020-10-21 16:39:56 -0700
commit528bfa79307d9b497202a022610ebeb9308c7d5f (patch)
tree45fb754fcf4d14898e7c018e4906e82d9e3100d0
parent55c29642a2c6588208494a145257f73de7799a9b (diff)
downloadfatcat-scholar-528bfa79307d9b497202a022610ebeb9308c7d5f.tar.gz
fatcat-scholar-528bfa79307d9b497202a022610ebeb9308c7d5f.zip
remove spurious debugging print() in robots.txt handler
-rw-r--r--fatcat_scholar/web.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/fatcat_scholar/web.py b/fatcat_scholar/web.py
index c50e02c..48174ff 100644
--- a/fatcat_scholar/web.py
+++ b/fatcat_scholar/web.py
@@ -246,7 +246,6 @@ 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: Any = PlainTextResponse) -> Any:
- print(ROBOTS_ALLOW)
if settings.SCHOLAR_ENV == "prod":
return PlainTextResponse(ROBOTS_ALLOW)
else: