mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-07-26 08:15:24 -04:00
Fix string representation
This commit is contained in:
parent
d2efd6c3e4
commit
3dd020cb86
1 changed files with 2 additions and 1 deletions
|
@ -329,7 +329,8 @@ class LocalClientInterface(Interface):
|
||||||
|
|
||||||
|
|
||||||
def __str__(self):
|
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):
|
class LocalServerInterface(Interface):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue