changed cli
This commit is contained in:
@@ -3,10 +3,10 @@ import socket
|
|||||||
|
|
||||||
class Networking:
|
class Networking:
|
||||||
def __init__(self, output_server_address, input_socket_address):
|
def __init__(self, output_server_address, input_socket_address):
|
||||||
self.server_address = "http+unix://" + output_server_address.replace("/", "%2F")
|
self.server_address = ""
|
||||||
self.input_socket = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
|
self.input_socket = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
|
||||||
self.output_session = req.Session()
|
self.output_session = req.Session()
|
||||||
self.server_address = ""
|
self.server_address = "http+unix://" + output_server_address.replace("/", "%2F")
|
||||||
self.input_socket.connect(input_socket_address)
|
self.input_socket.connect(input_socket_address)
|
||||||
print("Connected to " + input_socket_address + " and started server " + self.server_address)
|
print("Connected to " + input_socket_address + " and started server " + self.server_address)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user