fixed a bunch of shit
This commit is contained in:
@ -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__":
|
||||
|
Reference in New Issue
Block a user