17 lines
266 B
Python
17 lines
266 B
Python
import os
|
|
import dotenv
|
|
|
|
from Classes.Server import Server
|
|
|
|
def main(self):
|
|
dotenv.load_dotenv()
|
|
|
|
# retrieves host data from environment
|
|
HOST = os.getenv("HOST")
|
|
PORT = os.getenv("PORT")
|
|
|
|
Server(HOST, PORT)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main() |