identify as CLARA
This commit is contained in:
@@ -58,10 +58,10 @@ class DuktoProtocol:
|
|||||||
self.local_tcp_port = tcp_port
|
self.local_tcp_port = tcp_port
|
||||||
|
|
||||||
def get_system_signature(self) -> str:
|
def get_system_signature(self) -> str:
|
||||||
username = getpass.getuser()
|
name = getpass.getuser() + "'s CLARA"
|
||||||
hostname = socket.gethostname()
|
hostname = socket.gethostname()
|
||||||
system = platform.system()
|
system = platform.system()
|
||||||
return f"{username} at {hostname} ({system})"
|
return f"{name} at {hostname} ({system})"
|
||||||
|
|
||||||
def initialize(self):
|
def initialize(self):
|
||||||
# UDP Socket for peer discovery
|
# UDP Socket for peer discovery
|
||||||
|
|||||||
Reference in New Issue
Block a user