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