Add default argument

This commit is contained in:
Matthias 2019-04-09 07:08:46 +02:00
parent ae8660fe06
commit 99875afcc0

View File

@ -235,8 +235,7 @@ class ApiServer(RPC):
:return: stats :return: stats
""" """
timescale = request.args.get('timescale') timescale = request.args.get('timescale', 7)
logger.info("LocalRPC - Daily Command Called")
timescale = int(timescale) timescale = int(timescale)
stats = self._rpc_daily_profit(timescale, stats = self._rpc_daily_profit(timescale,