forked from s3lph/matemat
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
|
# Process submission
|
||||||
if request.method == 'POST':
|
if request.method == 'POST':
|
||||||
# Make sure all required values are present
|
# 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')
|
abort(400, 'Some arguments are missing')
|
||||||
username: str = str(request.params.username)
|
username: str = str(request.params.username)
|
||||||
password: str = str(request.params.password)
|
password: str = str(request.params.password)
|
||||||
|
|
Loading…
Reference in a new issue