Can't -> cannot

This commit is contained in:
Sergi Delgado Segura
2020-04-10 16:30:13 +02:00
parent a427b12799
commit a1a87ba9da
5 changed files with 7 additions and 7 deletions

View File

@@ -26,10 +26,10 @@ def post_request(data, endpoint):
return requests.post(url=endpoint, json=data, timeout=5)
except ConnectTimeout:
message = "Can't connect to the Eye of Satoshi at {}. Connection timeout".format(endpoint)
message = "Cannot connect to the Eye of Satoshi at {}. Connection timeout".format(endpoint)
except ConnectionError:
message = "Can't connect to the Eye of Satoshi at {}. Tower cannot be reached".format(endpoint)
message = "Cannot connect to the Eye of Satoshi at {}. Tower cannot be reached".format(endpoint)
except (InvalidSchema, MissingSchema, InvalidURL):
message = "Invalid URL. No schema, or invalid schema, found ({})".format(endpoint)