Skip to content
Snippets Groups Projects
Commit b3c75b23 authored by Krish Moodbidri's avatar Krish Moodbidri
Browse files

fixed queuename variable

parent 2ebbcdd9
No related branches found
No related tags found
1 merge request!26fixed queuename variable
......@@ -20,7 +20,7 @@ def gen_f(room):
def callback(channel, method, properties, body):
msg = json.loads(body)
username = msg['username']
queuename = msg['username']
queuename = msg['queuename']
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['username']
queuename = msg['queuename']
if msg['success']:
print(f'Account for {username} has been certified.')
......
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