removed messy code dupes
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user