Fix mypy error
This commit is contained in:
parent
22fcf7b4dc
commit
9382b38c41
@ -51,7 +51,7 @@ def validate_config_schema(conf: Dict[str, Any]) -> Dict[str, Any]:
|
|||||||
# Dynamically allow empty stake-currency
|
# Dynamically allow empty stake-currency
|
||||||
# Since the minimal config specifies this too.
|
# Since the minimal config specifies this too.
|
||||||
# It's not allowed for Dry-run or live modes
|
# 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:
|
try:
|
||||||
FreqtradeValidator(conf_schema).validate(conf)
|
FreqtradeValidator(conf_schema).validate(conf)
|
||||||
|
Loading…
Reference in New Issue
Block a user