codestyle

This commit is contained in:
s3lph 2020-02-03 23:42:29 +01:00
parent 8700023349
commit fe7a91b094

View file

@ -20,7 +20,8 @@ def userbootstrap():
# Process submission
if request.method == 'POST':
# Make sure all required values are present
if 'username' not in request.params or 'password' not in request.params or 'password2' not in request.params:
if 'username' not in request.params or 'password' not in request.params \
or 'password2' not in request.params:
abort(400, 'Some arguments are missing')
username: str = str(request.params.username)
password: str = str(request.params.password)