Default add to None for blacklist rpc calls

This commit is contained in:
Matthias 2019-04-26 09:55:11 +02:00
parent 938d7275ba
commit 122cf4c897

View File

@ -470,7 +470,7 @@ class RPC(object):
}
return res
def _rpc_blacklist(self, add: List[str]) -> Dict:
def _rpc_blacklist(self, add: List[str] = None) -> Dict:
""" Returns the currently active blacklist"""
if add:
stake_currency = self._freqtrade.config.get('stake_currency')