rename ApiServerSuperWrap into ApiServer

This commit is contained in:
gcarq 2018-06-23 12:14:38 +02:00
parent 6389869fda
commit 0f6c41389c
2 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ logger = logging.getLogger(__name__)
app = Flask(__name__)
class ApiServerSuperWrap(RPC):
class ApiServer(RPC):
"""
This class is for REST calls across api server
"""

View File

@ -26,8 +26,8 @@ class RPCManager(object):
# Enable local rest api server for cmd line control
if freqtrade.config.get('api_server', {}).get('enabled', False):
logger.info('Enabling rpc.api_server')
from freqtrade.rpc.api_server import ApiServerSuperWrap
self.registered_modules.append(ApiServerSuperWrap(freqtrade))
from freqtrade.rpc.api_server import ApiServer
self.registered_modules.append(ApiServer(freqtrade))
def cleanup(self) -> None:
""" Stops all enabled rpc modules """