changed cli

This commit is contained in:
Johannes Wendel
2019-08-29 22:28:44 +02:00
parent 2b5fb960b8
commit f95ba99ec4

View File

@@ -4,10 +4,10 @@ import socket
class Networking:
def __init__(self, output_server_address, input_socket_address):
self.server_address = "http+unix://" + output_server_address.replace("/", "%2F")
self.input_socket.connect(input_socket_address)
self.output_session = req.Session()
self.input_socket = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
self.output_session = req.Session()
self.server_address = ""
self.input_socket.connect(input_socket_address)
print("Connected to " + input_socket_address + " and started server " + self.server_address)
def get(self, path):