Skip to content

Commit

Permalink
issue #57: correct constant name
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxence Guindon committed Apr 8, 2024
1 parent 6f6607f commit 9607640
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
try:
MAX_CONTENT_LENGTH_MEGABYTES = int(os.getenv("NACHET_MAX_CONTENT_LENGTH"))
except (TypeError, ValueError):
MAX_CONTENT_LENGTH = 16
MAX_CONTENT_LENGTH_MEGABYTES = 16

app.config["MAX_CONTENT_LENGTH"] = MAX_CONTENT_LENGTH_MEGABYTES * 1024 * 1024

Expand Down

0 comments on commit 9607640

Please sign in to comment.