Fix string representation

This commit is contained in:
Mark Qvist 2025-04-12 21:30:36 +02:00
parent d2efd6c3e4
commit 3dd020cb86

View File

@ -329,7 +329,8 @@ class LocalClientInterface(Interface):
def __str__(self):
return "LocalInterface["+str(self.target_port)+"]"
if self.socket_path: return "Shared Instance["+str(self.socket_path.replace("\0", ""))+"]"
else: return "Shared Instance["+str(self.target_port)+"]"
class LocalServerInterface(Interface):