Fix mypy error

This commit is contained in:
Matthias 2020-01-02 10:56:00 +01:00
parent 22fcf7b4dc
commit 9382b38c41

View File

@ -51,7 +51,7 @@ def validate_config_schema(conf: Dict[str, Any]) -> Dict[str, Any]:
# Dynamically allow empty stake-currency
# Since the minimal config specifies this too.
# It's not allowed for Dry-run or live modes
conf_schema['properties']['stake_currency']['enum'] += ['']
conf_schema['properties']['stake_currency']['enum'] += [''] # type: ignore
try:
FreqtradeValidator(conf_schema).validate(conf)