diff --git a/freqtrade/rpc/api_server.py b/freqtrade/rpc/api_server.py index be6b20ecb..18c68e797 100644 --- a/freqtrade/rpc/api_server.py +++ b/freqtrade/rpc/api_server.py @@ -130,9 +130,7 @@ class ApiServer(RPC): # help (?) def run(self): - """ Method that runs flask app in its own thread forever """ - - """ + """ Method that runs flask app in its own thread forever. Section to handle configuration and running of the Rest server also to check and warn if not bound to a loopback, warn on security risk. """ @@ -153,11 +151,6 @@ class ApiServer(RPC): logger.exception("Api server failed to start, exception message is:") logger.info('Starting Local Rest Server_end') - """ - Define the application methods here, called by app.add_url_rule - each Telegram command should have a like local substitute - """ - def page_not_found(self, error): """ Return "404 not found", 404.