Describe the bug
Customizing the email body cannot accommodate new lines. Adjust how we save the body email text so that it uses "set_values" or "append" method of ConfigUpdater.
Expected behavior
Saving templates for email bodies should handle and be capable of storing multi-line comments.
Additional context
Error code below:
Traceback (most recent call last):
File "C:\Users\SamuelLanteigne\Project Center\Work\QuickDraw\source\app\model\config.py", line 54, in handle_save_contents
config[section_name][option] = value
~~~~~~~~~~~~~~~~~~~~^^^^^^^^
File "c:\Users\SamuelLanteigne\Project Center\virtualenvs\QuickDraw\Lib\site-packages\configupdater\section.py", line 176, in __setitem__
option.value = value
^^^^^^^^^^^^
File "c:\Users\SamuelLanteigne\Project Center\virtualenvs\QuickDraw\Lib\site-packages\configupdater\option.py", line 181, in value
raise AssignMultilineValueError(self)
configupdater.block.AssignMultilineValueError: Trying to assign a multi-line value to <Option 'body'>.
Use the ``set_values`` or ``append`` method to accomplish that.
Describe the bug Customizing the email body cannot accommodate new lines. Adjust how we save the body email text so that it uses "set_values" or "append" method of ConfigUpdater.
Expected behavior Saving templates for email bodies should handle and be capable of storing multi-line comments.
Additional context Error code below: