Move settings to correct location

This commit is contained in:
Matthias 2019-11-19 19:33:04 +01:00
parent 5f62a9e4d8
commit c92f233c15

View File

@ -63,9 +63,9 @@ def process_temporary_deprecated_settings(config: Dict[str, Any]) -> None:
"DEPRECATED: " "DEPRECATED: "
f"Using VolumePairList in pairlist is deprecated and must be moved to pairlists. " f"Using VolumePairList in pairlist is deprecated and must be moved to pairlists. "
"Please refer to the docs on configuration details") "Please refer to the docs on configuration details")
config['pairlists'].append({'method': 'VolumePairList', pl = {'method': 'VolumePairList'}
'config': config.get('pairlist', {}).get('config') pl.update(config.get('pairlist', {}).get('config'))
}) config['pairlists'].append(pl)
if config.get('pairlist', {}).get('config', {}).get('precision_filter'): if config.get('pairlist', {}).get('config', {}).get('precision_filter'):
logger.warning( logger.warning(