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

Fix flake8 F841

parent 70308df3
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,7 @@ def create_app(config_name):
app = Flask(
__name__, static_folder="static"
) # initialization of the flask app
cors = CORS(app, resources={r"/*": {"origins": vars.cors_allowed_origins}})
CORS(app, resources={r"/*": {"origins": vars.cors_allowed_origins}})
Bootstrap(app) # allowing app to use bootstrap
def get_authorized_user():
......
......@@ -108,8 +108,6 @@ def celery_create_account(json, session):
def celery_certify_account(json, session):
room = session
username = json["username"]
email = json["email"]
fullname = json["fullname"]
queuename = rc_util.encode_name(username)
updated_by = f"{username}"
host = vars.app_host
......
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