Merge branch 'master' of gitlab.com:luna/litecord

This commit is contained in:
Luna Mendes 2018-11-19 04:45:18 -03:00
commit 7da305d883
2 changed files with 2 additions and 2 deletions

View File

@ -238,7 +238,7 @@ class IconManager:
log.info('resizing from {} to {}',
image.size, want)
resized = image.resize(want)
resized = image.resize(want, resample=Image.LANCZOS)
data_fd = BytesIO()
resized.save(data_fd, format=extension)

2
run.py
View File

@ -279,7 +279,7 @@ async def handle_500(err):
'error': True,
'message': repr(err),
'internal_server_error': True,
})
}), 500
@app.route('/')