rename ApiServerSuperWrap into ApiServer
This commit is contained in:
parent
6389869fda
commit
0f6c41389c
@ -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
|
||||
"""
|
||||
|
@ -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 """
|
||||
|
Loading…
Reference in New Issue
Block a user