diff options
author | Bryan Newbold <bnewbold@archive.org> | 2020-10-21 16:39:56 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2020-10-21 16:39:56 -0700 |
commit | 528bfa79307d9b497202a022610ebeb9308c7d5f (patch) | |
tree | 45fb754fcf4d14898e7c018e4906e82d9e3100d0 /fatcat_scholar/web.py | |
parent | 55c29642a2c6588208494a145257f73de7799a9b (diff) | |
download | fatcat-scholar-528bfa79307d9b497202a022610ebeb9308c7d5f.tar.gz fatcat-scholar-528bfa79307d9b497202a022610ebeb9308c7d5f.zip |
remove spurious debugging print() in robots.txt handler
Diffstat (limited to 'fatcat_scholar/web.py')
-rw-r--r-- | fatcat_scholar/web.py | 1 |
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: |