Skip to content

V2#2

Open
alina3657362 wants to merge 8 commits intomainfrom
v2
Open

V2#2
alina3657362 wants to merge 8 commits intomainfrom
v2

Conversation

@alina3657362
Copy link
Owner

No description provided.

Comment on lines 72 to 75
if resp.status_code == HTTPStatus.OK:
keys.update(resp.text.split())
else:
continue
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if resp.status_code == HTTPStatus.OK:
keys.update(resp.text.split())
else:
continue
if resp.status_code != HTTPStatus.OK:
continue
keys.update(resp.text.split())

url = f"http://{node.server_address.host}:{node.server_address.port}/start_with/{prefix.lower()}"
try:
resp = requests.get(url)
if resp.status_code == HTTPStatus.OK:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

тоже самое

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants