diff --git a/src/presenters/presenters/json_presenter.py b/src/presenters/presenters/json_presenter.py index 7df12a6cc..b4a957b0a 100644 --- a/src/presenters/presenters/json_presenter.py +++ b/src/presenters/presenters/json_presenter.py @@ -37,7 +37,10 @@ def generate(self, presenter_input): Returns: _type_: _description_ """ - indent = int(presenter_input.parameter_values_map["JSON_INDENT"]) + try: + indent = int(presenter_input.parameter_values_map["JSON_INDENT"]) + except ValueError: + indent = 4 try: input_data = BasePresenter.generate_input_data(presenter_input)