Update based on flake8

This commit is contained in:
Stefano Ariestasia
2022-01-21 00:35:22 +00:00
parent f30580e5f2
commit 748381c5cd
4 changed files with 7 additions and 4 deletions

View File

@@ -139,7 +139,8 @@ class RPC:
'runmode': config['runmode'].value,
'position_adjustment_enable': config.get('position_adjustment_enable', False),
'max_buy_position_adjustment': (config['max_buy_position_adjustment']
if config['max_buy_position_adjustment'] != float('inf') else -1)
if config['max_buy_position_adjustment'] != float('inf')
else -1)
}
return val