Merge pull request #113 from snikket-im/feature/flake8-print

Include flake8-print plugin
This commit is contained in:
Matthew Wild
2022-01-17 15:47:21 +00:00
committed by GitHub
3 changed files with 1 additions and 4 deletions

View File

@@ -150,7 +150,6 @@ async def profile() -> typing.Union[str, quart.Response]:
mimetype = file_info.mimetype
data = file_info.stream.read()
if len(data) > max_avatar_size:
print(len(data), max_avatar_size)
form.avatar.errors.append(EAVATARTOOBIG)
ok = False
elif len(data) > 0: