change singleton to global

This commit is contained in:
Jonas Zeunert
2021-03-07 16:24:04 +01:00
parent 6450ee22dc
commit 62bdd68c5a
12 changed files with 25 additions and 28 deletions

View File

@@ -2,10 +2,9 @@ import requests_unixsocket as req
import socket
import json
import asyncio
from utils.Singleton import Singleton
class Networking(metaclass=Singleton):
class Networking:
def __init__(self, output_server_address, input_socket_address):
self.server_address = ""
self.input_socket = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)