From 6bb2fad9b07e2ffd64c2e3b22a9ab77f5f815224 Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 4 Apr 2019 19:34:19 +0200 Subject: [PATCH] Reorder some things --- freqtrade/rpc/api_server.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/freqtrade/rpc/api_server.py b/freqtrade/rpc/api_server.py index 1055a0553..46678466d 100644 --- a/freqtrade/rpc/api_server.py +++ b/freqtrade/rpc/api_server.py @@ -38,6 +38,12 @@ class ApiServer(RPC): thread = threading.Thread(target=self.run, daemon=True) thread.start() + def cleanup(self) -> None: + pass + + def send_msg(self, msg: Dict[str, str]) -> None: + pass + def register_rest_other(self): """ Registers flask app URLs that are not calls to functionality in rpc.rpc. @@ -84,12 +90,6 @@ 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: Dict[str, str]) -> None: - pass - """ Define the application methods here, called by app.add_url_rule each Telegram command should have a like local substitute