From 48fea2b508f29833e5a02428ca204eb330305482 Mon Sep 17 00:00:00 2001 From: Martin Burchell Date: Thu, 20 Jul 2023 11:41:16 +0100 Subject: [PATCH] Remove odd newlines from CAPS summary --- server/camcops_server/tasks/caps.py | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/server/camcops_server/tasks/caps.py b/server/camcops_server/tasks/caps.py index 961dd4dff..b93911d11 100644 --- a/server/camcops_server/tasks/caps.py +++ b/server/camcops_server/tasks/caps.py @@ -283,16 +283,12 @@ def get_task_html(self, req: CamcopsRequest) -> str: tr_total_score = tr_qa( f"{req.sstring(SS.TOTAL_SCORE)} [1] (0–32)", total ) - tr_distress = ( - tr_qa( - "{} (0–160)".format(self.wxstring(req, "distress")), distress - ), + tr_distress = tr_qa( + "{} (0–160)".format(self.wxstring(req, "distress")), distress ) - tr_intrusiveness = ( - tr_qa( - "{} (0–160)".format(self.wxstring(req, "intrusiveness")), - intrusiveness, - ), + tr_intrusiveness = tr_qa( + "{} (0–160)".format(self.wxstring(req, "intrusiveness")), + intrusiveness, ) tr_frequency = tr_qa( "{} (0–160)".format(self.wxstring(req, "frequency")), frequency