diff --git a/main.py b/main.py index 40aa5e2..78a55a6 100644 --- a/main.py +++ b/main.py @@ -1,4 +1,5 @@ from src import schema from src import server -server.run("localhost", 7066) +if __name__ == '__main__': + server.run("localhost", 7066)