From 7360c41099563493fc500c6c51f23324d5d81637 Mon Sep 17 00:00:00 2001 From: Kikimanox Date: Mon, 29 Aug 2022 16:29:20 +0200 Subject: [PATCH] will this workaround work...? --- swagger_server/__main__.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/swagger_server/__main__.py b/swagger_server/__main__.py index e1f55b9..0517f86 100644 --- a/swagger_server/__main__.py +++ b/swagger_server/__main__.py @@ -16,5 +16,8 @@ def main(): app.run(port=8080) -if __name__ == '__main__': - main() +# need to comment out the bottom part and add this because +# for some reason it won't run otherwise on the docker on the server +main() +# if __name__ == '__main__': +# main()