Fix pool locally, cleanup

This commit is contained in:
zandercymatics 2023-10-12 12:07:05 -06:00
parent a82f3c5ce9
commit c4d2950ac9
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
2 changed files with 18 additions and 15 deletions

View file

@ -45,12 +45,9 @@ class Socket:
logger.warning("Connection to registry was not cleanly closed.")
def send(self, command):
logger.debug(f"command is this: {command}")
response = self.client.send(command)
# TODO - add some validation
"""
if response.code >= 2000:
self.client.close()
raise LoginError(response.msg)
"""
return response