Use correct Return hint

This commit is contained in:
Matthias 2020-05-17 20:18:35 +02:00
parent 943a2a08f8
commit 64b8d8c7bd

View File

@ -186,7 +186,7 @@ class RPC:
def _rpc_daily_profit( def _rpc_daily_profit(
self, timescale: int, self, timescale: int,
stake_currency: str, fiat_display_currency: str) -> List[List[Any]]: stake_currency: str, fiat_display_currency: str) -> Dict[str, Any]:
today = datetime.utcnow().date() today = datetime.utcnow().date()
profit_days: Dict[date, Dict] = {} profit_days: Dict[date, Dict] = {}