Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
account-app
Manage
Activity
Members
Labels
Plan
Issues
9
Issue boards
Milestones
Wiki
Code
Merge requests
4
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
rc
account-app
Commits
b3c75b23
Commit
b3c75b23
authored
3 years ago
by
Krish Moodbidri
Browse files
Options
Downloads
Patches
Plain Diff
fixed queuename variable
parent
2ebbcdd9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!26
fixed queuename variable
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tasks.py
+2
-2
2 additions, 2 deletions
tasks.py
with
2 additions
and
2 deletions
tasks.py
+
2
−
2
View file @
b3c75b23
...
...
@@ -20,7 +20,7 @@ def gen_f(room):
def
callback
(
channel
,
method
,
properties
,
body
):
msg
=
json
.
loads
(
body
)
username
=
msg
[
'
username
'
]
queuename
=
msg
[
'
user
name
'
]
queuename
=
msg
[
'
queue
name
'
]
if
msg
[
'
success
'
]:
print
(
f
'
Account for
{
username
}
has been created.
'
)
...
...
@@ -40,7 +40,7 @@ def certify_gen_f(room):
def
callback
(
channel
,
method
,
properties
,
body
):
msg
=
json
.
loads
(
body
)
username
=
msg
[
'
username
'
]
queuename
=
msg
[
'
user
name
'
]
queuename
=
msg
[
'
queue
name
'
]
if
msg
[
'
success
'
]:
print
(
f
'
Account for
{
username
}
has been certified.
'
)
...
...
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