diff --git a/python-api/__pycache__/api.cpython-37.pyc b/python-api/__pycache__/api.cpython-37.pyc index f72b283..a0d6cc5 100644 Binary files a/python-api/__pycache__/api.cpython-37.pyc and b/python-api/__pycache__/api.cpython-37.pyc differ diff --git a/python-api/api.py b/python-api/api.py index 496bcc8..ee76dbe 100644 --- a/python-api/api.py +++ b/python-api/api.py @@ -34,8 +34,12 @@ class Base(Handler): def cleanup(self, meal): self.replacable_keys.do_replace(meal) + self.cleanup_instructions(meal) self.cleanup_ingredients(meal) + def cleanup_instructions(self, meal): + meal["instructions"] = meal["instructions"].replace('\r\n', '\n\n') + def cleanup_ingredients(self, meal): potential_length = 20 true_length = 0