♻️ Fixed flake8 warning

This commit is contained in:
Rik Helsen 2021-06-17 20:33:21 +02:00
parent 96cd76998b
commit 546ca01071

View File

@ -114,7 +114,8 @@ class HyperoptTools():
if len(space_non_optimized) > 0:
for non_optimized_param in space_non_optimized:
if non_optimized_param not in all_space_params:
all_space_params[non_optimized_param] = space_non_optimized[non_optimized_param]
all_space_params[non_optimized_param] = \
space_non_optimized[non_optimized_param]
if space in ['buy', 'sell']:
result_dict.setdefault('params', {}).update(all_space_params)