Skip to content
Snippets Groups Projects
Commit d73303a2 authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

Refine some output message

parent e425b1d8
No related branches found
No related tags found
1 merge request!146Feat group manager
......@@ -57,7 +57,7 @@ def manage_group(op, usernames, groupname, debug=False):
status[username] = msg["success"]
response += 1
if not msg["success"]:
print("Something's wrong, please try again.")
print(f"{username}: Something's wrong, please try again.")
if len(status) == response:
rc_rmq.stop_consume()
......@@ -93,6 +93,8 @@ def manage_group(op, usernames, groupname, debug=False):
}
)
print("Done")
if __name__ == "__main__":
parser = argparse.ArgumentParser(description="Group management script")
......
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