You've already forked snikket-web-portal
Include flake8-print plugin
This alerts us of stray print statements, which should never occur because this is a non-TUI application.
This commit is contained in:
@@ -138,7 +138,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