Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Krish Moodbidri
self-reg-form
Commits
e8d860dc
Commit
e8d860dc
authored
May 16, 2022
by
Krish Moodbidri
Browse files
fixed order of args
parent
bcc5650f
Pipeline
#6109
canceled with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
tasks.py
View file @
e8d860dc
...
...
@@ -95,7 +95,7 @@ def celery_certify_account(json, session):
print
(
"CERTIFY : "
+
time
.
strftime
(
"%m-%d-%Y_%H:%M:%S"
)
+
'
\t
User '
+
username
+
' added to queue'
)
send_msg
(
'certifying account'
,
room
)
print
(
username
)
rc_util
.
certify_account
(
username
,
queuename
,
'ok'
,
'all'
,
updated_by
)
rc_util
.
certify_account
(
username
,
queuename
,
updated_by
,
'ok'
,
'all'
)
print
(
'sent account info'
)
print
(
'Waiting for certification...'
)
rc_util
.
consume
(
queuename
,
routing_key
=
f
'certified.
{
queuename
}
'
,
callback
=
certify_gen_f
(
room
))
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment