Skip to content

Commit

Permalink
refactored values
Browse files Browse the repository at this point in the history
  • Loading branch information
ramsharma-prog committed Jul 17, 2023
1 parent db73e3a commit b4be959
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions fsd_utils/mapping/application/multi_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def formatted_values(value):
else convert_bool_value(value)
)

values = ".".join([f". {item}" for item in value])
values = ".\n".join([f". {item}" for item in value])

return (
f"{cls.indent}-> {key} \n {formatted_values(values)}" # noqa
Expand Down Expand Up @@ -165,8 +165,6 @@ def map_multi_input_data(cls, multi_input_data):
sorted_data[json.dumps(key)] = values

output = cls.process_data(sorted_data)
test = "\n".join(output)
print(f"FINALLLLLLL OUTPUT:: {test}")
return "\n".join(output)
except Exception as e:
current_app.logger.error(
Expand Down

0 comments on commit b4be959

Please sign in to comment.