diff --git a/account_manager.py b/account_manager.py index edaba90da900afa59d5ac6976241e1344cd8b099..91a8d104e12052a2f41f92f27d04d913104ff78f 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