codestyle
This commit is contained in:
parent
8700023349
commit
fe7a91b094
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue