Run black linter

This commit is contained in:
zandercymatics 2023-10-12 10:21:56 -06:00
parent 3a28a3a362
commit 542554959e
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
3 changed files with 14 additions and 8 deletions

View file

@ -35,7 +35,7 @@ class Socket:
self.client.close()
raise LoginError(response.msg)
return self.client
def disconnect(self):
"""Close the connection."""
try:
@ -43,7 +43,7 @@ class Socket:
self.client.close()
except Exception:
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)
@ -53,4 +53,4 @@ class Socket:
self.client.close()
raise LoginError(response.msg)
"""
return response
return response