Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
self-reg-form
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
3
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Krish Moodbidri
self-reg-form
Commits
701756a2
Commit
701756a2
authored
3 years ago
by
Bo-Chun Chen
Browse files
Options
Downloads
Patches
Plain Diff
Reformant app init with black
parent
1a363d1a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/__init__.py
+3
-2
3 additions, 2 deletions
app/__init__.py
with
3 additions
and
2 deletions
app/__init__.py
+
3
−
2
View file @
701756a2
...
@@ -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
(
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment