1
0
mirror of https://github.com/laurivosandi/certidude synced 2025-10-30 17:09:19 +00:00

tests: Checks for /etc/cron.hourly/certidude

This commit is contained in:
2017-05-07 19:51:40 +00:00
parent 8440cd840d
commit b1dd6f0093
2 changed files with 15 additions and 7 deletions

View File

@@ -149,7 +149,7 @@ class StaticResource(object):
if content_encoding:
resp.append_header("Content-Encoding", content_encoding)
resp.stream = open(path, "rb")
logger.info("Serving '%s' from '%s'", req.path, path)
logger.debug("Serving '%s' from '%s'", req.path, path)
else:
resp.status = falcon.HTTP_404
resp.body = "File '%s' not found" % req.path