From 08cb6f00747ab7cf5c3b62cc1d71ea9512ee164f Mon Sep 17 00:00:00 2001 From: cyfraeviolae Date: Sat, 27 Aug 2022 05:46:32 -0400 Subject: print --- app.py | 1 - 1 file changed, 1 deletion(-) diff --git a/app.py b/app.py index 01bdef6..f6d11ae 100644 --- a/app.py +++ b/app.py @@ -134,7 +134,6 @@ def FileSizeLimit(max_bytes, magic_start=None, magic_end=None): return s = field.data.read() n = len(s) - print(max_bytes, n) if n > max_bytes: raise ValidationError(f"File size must be less than {max_bytes}B") if magic_start and not s.startswith(magic_start): -- cgit v1.2.3