Skip to content
Snippets Groups Projects
Commit 3312e611 authored by Ravi Tripathi's avatar Ravi Tripathi
Browse files

Adding proper indentation

parent 37e07c0c
No related branches found
No related tags found
3 merge requests!147Merge previous default branch feat-cod-rmq into main,!94WIP: Merge feat_prod_rmq with feat_cod_rmq,!92Feat use queuename attribute cleanup (only functional code changes)
...@@ -21,7 +21,7 @@ def add_account(username, queuename, email, full="", reason=""): ...@@ -21,7 +21,7 @@ def add_account(username, queuename, email, full="", reason=""):
}, },
} }
) )
rc_rmq.disconnect() rc_rmq.disconnect()
def worker(ch, method, properties, body): def worker(ch, method, properties, body):
msg = json.loads(body) msg = json.loads(body)
...@@ -83,4 +83,4 @@ def encode_name(uname): ...@@ -83,4 +83,4 @@ def encode_name(uname):
uname_quote = quote(uname) uname_quote = quote(uname)
if "." in uname_quote: if "." in uname_quote:
uname_quote = uname_quote.replace(".", "%2E") uname_quote = uname_quote.replace(".", "%2E")
return uname_quote return uname_quote
\ No newline at end of file
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