mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-07-31 11:53:05 -07:00
Cleanup
This commit is contained in:
@@ -62,7 +62,7 @@ class LocalClientInterface(Interface):
|
||||
self.HW_MTU = 262144
|
||||
self.online = False
|
||||
|
||||
if RNS.vendor.platformutils.is_linux(): self.socket_path = f"\0rns/{socket_path}"
|
||||
if socket_path != None and RNS.vendor.platformutils.is_linux(): self.socket_path = f"\0rns/{socket_path}"
|
||||
else: self.socket_path = None
|
||||
|
||||
self.IN = True
|
||||
@@ -341,7 +341,7 @@ class LocalServerInterface(Interface):
|
||||
self.online = False
|
||||
self.clients = 0
|
||||
|
||||
if RNS.vendor.platformutils.is_linux(): self.socket_path = f"\0rns/{socket_path}"
|
||||
if socket_path != None and RNS.vendor.platformutils.is_linux(): self.socket_path = f"\0rns/{socket_path}"
|
||||
else: self.socket_path = None
|
||||
|
||||
self.IN = True
|
||||
|
||||
Reference in New Issue
Block a user