Skip to content

Commit

Permalink
fix: small error in code found by pylance
Browse files Browse the repository at this point in the history
  • Loading branch information
cyclimse committed Feb 28, 2023
1 parent 09f22fb commit f8f0b63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scaleway_functions_python/testing/serving.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def emulate_core_preprocess(self, req: "FlaskRequest") -> None:
self.logger.warning(
"Request is too big, should not exceed %s Mb but is %s Mb",
MAX_CONTENT_LENGTH / (1 << 20),
request.content_length / (1 << 20),
req.content_length / (1 << 20),
)
if req.path in ["/favicon.ico", "/robots.txt"]:
self.logger.warning(
Expand Down

0 comments on commit f8f0b63

Please sign in to comment.