fixed a bunch of shit

This commit is contained in:
2023-12-17 22:51:25 +01:00
parent 0b447f9505
commit 2055786d4a
15 changed files with 120 additions and 25 deletions

View File

@ -1,16 +1,17 @@
import os
import dotenv
from Classes.Server import Server
from Classes.System.Server import Server
def main(self):
dotenv.load_dotenv()
# retrieves host data from environment
HOST = os.getenv("HOST")
PORT = os.getenv("PORT")
TCPPORT = os.getenv("TCPPORT")
UDPPORT = os.getenv("UDPPORT")
Server(HOST, PORT)
Server(HOST, TCPPORT, UDPPORT)
if __name__ == "__main__":