rm broken response field

This commit is contained in:
Moon Man 2024-10-16 16:20:32 +00:00
parent 62360ff390
commit c1e67fc512
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ def create_zulip_user(handle):
response = zulip_client.create_user(payload) response = zulip_client.create_user(payload)
if response["result"] == "success": if response["result"] == "success":
print(f"Zulip user ID: {response.user_id} created for handle: {handle}") print(f"Zulip user created for handle: {handle}")
return True return True
elif response["result"] == "error" and response["msg"] == f"Email '{handle}' already in use": elif response["result"] == "error" and response["msg"] == f"Email '{handle}' already in use":
print(response["msg"] + ", this is okay.") print(response["msg"] + ", this is okay.")