From 1ca22911435930d565b393cc62fba1ba57189207 Mon Sep 17 00:00:00 2001
From: atlurie <atlurie@uab.edu>
Date: Thu, 7 Apr 2022 15:00:01 -0500
Subject: [PATCH] Use states specified in the rabbit_config file

---
 account_manager.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/account_manager.py b/account_manager.py
index edaba90..91a8d10 100755
--- a/account_manager.py
+++ b/account_manager.py
@@ -30,7 +30,7 @@ callback_queue = rc_rmq.bind_queue(exclusive=True)
 
 msg = {}
 
-if state == 'block' or state == 'certify':
+if state == 'blocked' or state == 'certification':
     action = lock
 elif state == 'ok':
     action = unlock
-- 
GitLab