You've already forked snikket-web-portal
Merge pull request #113 from snikket-im/feature/flake8-print
Include flake8-print plugin
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user