|
@@ -84,10 +84,7 @@ def getStatus():
|
|
|
|
|
|
|
|
|
|
|
|
|
def run():
|
|
def run():
|
|
|
- if sys.platform.startswith("win"):
|
|
|
|
|
- app.run(host=config.host_ip, port=config.host_port)
|
|
|
|
|
- else:
|
|
|
|
|
- app.run(host=config.host_ip, port=config.host_port, threaded=False, processes=config.processes)
|
|
|
|
|
|
|
+ app.run(host=config.host_ip, port=config.host_port)
|
|
|
|
|
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
if __name__ == '__main__':
|