Skip to content
Snippets Groups Projects
Commit 701756a2 authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

Reformant app init with black

parent 1a363d1a
No related branches found
No related tags found
No related merge requests found
...@@ -18,6 +18,7 @@ from flask_cors import CORS ...@@ -18,6 +18,7 @@ from flask_cors import CORS
# local imports # local imports
import messages import messages
import vars import vars
sys.path.append(vars.rabbitmq_agents_loc) sys.path.append(vars.rabbitmq_agents_loc)
import rc_util # noqa: E402 import rc_util # noqa: E402
...@@ -99,10 +100,10 @@ def create_app(config_name): ...@@ -99,10 +100,10 @@ def create_app(config_name):
pre_certification_msg=messages.pre_certification_message, pre_certification_msg=messages.pre_certification_message,
certification_msg=messages.certification_message, certification_msg=messages.certification_message,
) )
elif rc_util.check_state(session['user'].get('username')) == "ok": elif rc_util.check_state(session["user"].get("username")) == "ok":
return render_template( return render_template(
"account/good_standing.html", "account/good_standing.html",
good_standing_msg=messages.good_standing_message good_standing_msg=messages.good_standing_message,
) )
else: else:
return render_template( return render_template(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment