removed messy code dupes

This commit is contained in:
2024-01-07 19:29:01 +01:00
parent 6adea1730e
commit 3fa66bc2bf
6 changed files with 52 additions and 43 deletions

View File

@@ -1,15 +1,12 @@
import os
import dotenv
from Classes.System.Server import Server
def main(self):
dotenv.load_dotenv()
def main():
# retrieves host data from environment
HOST = os.getenv("HOST")
TCPPORT = os.getenv("TCPPORT")
UDPPORT = os.getenv("UDPPORT")
HOST = "127.0.0.1"
TCPPORT = "54322"
UDPPORT = "54323"
Server(HOST, TCPPORT, UDPPORT)