提交 8ca1a834 编写于 作者: M MRXLT

fix bug

上级 5b18f570
......@@ -116,10 +116,10 @@ class WebService(object):
self.app_instance = app_instance
def run_flask(self):
app_instance.run(host="0.0.0.0",
port=self.port,
threaded=False,
processes=1)
self.app_instance.run(host="0.0.0.0",
port=self.port,
threaded=False,
processes=1)
def get_app_instance(self):
return self.app_instance
......
......@@ -166,10 +166,10 @@ class WebService(object):
self.app_instance = app_instance
def run_flask(self):
app_instance.run(host="0.0.0.0",
port=self.port,
threaded=False,
processes=1)
self.app_instance.run(host="0.0.0.0",
port=self.port,
threaded=False,
processes=1)
def get_app_instance(self):
return app_instance
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册