From bfb023a72dfa66430f9d95625eac72c3de51fa32 Mon Sep 17 00:00:00 2001 From: atlurie <atlurie@uab.edu> Date: Mon, 11 Apr 2022 22:44:09 -0500 Subject: [PATCH] Change the success message to reflect action taken --- account_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_manager.py b/account_manager.py index 00973a6..aa2ca0b 100755 --- a/account_manager.py +++ b/account_manager.py @@ -77,7 +77,7 @@ def callback(channel, method, properties, body): username = msg["username"] if msg["success"]: - print(f"Account for {username} has been blocked.\n Updating the user state in DB") + print(f"Account for {username} has been {action}ed.\n Updating the user state in DB") rc_util.update_state(username, state) else: print(f"There's some issue in account management agents for {username}") -- GitLab