From 3fb680b3b414d9f1ae698dcf31106bdc51f4472c Mon Sep 17 00:00:00 2001 From: creslinux Date: Sat, 23 Jun 2018 12:38:04 +0000 Subject: [PATCH] removed change to cleanup() in api_server.py --- freqtrade/rpc/api_server.py | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/freqtrade/rpc/api_server.py b/freqtrade/rpc/api_server.py index 40eb39943..5f82b307f 100644 --- a/freqtrade/rpc/api_server.py +++ b/freqtrade/rpc/api_server.py @@ -79,6 +79,9 @@ class ApiServer(RPC): except Exception: logger.exception("Api server failed to start, exception message is:") + def cleanup(self) -> None: + pass + def send_msg(self, msg: str) -> None: pass @@ -97,17 +100,6 @@ class ApiServer(RPC): func() return - def cleanup(self) -> None: - """ - Stops the running application server - - Does not stop the thread,this may not be the desired outcome of cleanup. TBC - :return: - """ - self.shutdown_api_server() - # def cleanup(self) -> None: - # pass - """ Define the application methods here, called by app.add_url_rule each Telegram command should have a like local substitute