From fe7a91b09420f7eecfe7516ce2e4ee209333c513 Mon Sep 17 00:00:00 2001 From: s3lph Date: Mon, 3 Feb 2020 23:42:29 +0100 Subject: [PATCH] codestyle --- matemat/webserver/pagelets/userbootstrap.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/matemat/webserver/pagelets/userbootstrap.py b/matemat/webserver/pagelets/userbootstrap.py index 2dbbaf5..e5d6940 100644 --- a/matemat/webserver/pagelets/userbootstrap.py +++ b/matemat/webserver/pagelets/userbootstrap.py @@ -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)