From bbda8c0cee7514817f7d789eaf3d8f45cdfc824d Mon Sep 17 00:00:00 2001 From: Sergei Kasianenko Date: Fri, 8 Dec 2023 11:39:17 +0800 Subject: [PATCH] =?UTF-8?q?=D0=BD=D0=B0=D0=B7=D0=B2=D0=B0=D0=BD=D0=B8?= =?UTF-8?q?=D0=B5=20=D1=84-=D0=BB=D0=B0=20=D1=85=D1=80=D0=B0=D0=BD=D0=B8?= =?UTF-8?q?=D1=82=D1=8C=20=D0=B2=20=D0=BC=D0=BE=D0=B4=D0=B5=D0=BB=D0=B8=20?= =?UTF-8?q?=D0=BF=D0=BE=D0=BB=D0=BD=D0=BE=D1=81=D1=82=D1=8C=D1=8E=20=D1=81?= =?UTF-8?q?=20=D1=80=D0=B0=D1=81=D1=88=D0=B8=D1=80=D0=B5=D0=BD=D0=B8=D0=B5?= =?UTF-8?q?=D0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- xml_generate/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xml_generate/views.py b/xml_generate/views.py index 02d9692817..56738c5c15 100644 --- a/xml_generate/views.py +++ b/xml_generate/views.py @@ -32,7 +32,7 @@ def gen_resul_cpp_file(iss: Issledovaniya, used_cpp_template_files, data): patient_result["direction_number"] = iss.napravleniye_id data["result"] = patient_result for k, file_name in sorted(cpp_template_files.items()): - template_file_name = f"{file_name.get('template')}.xml.jinja" + template_file_name = f"{file_name.get('template')}" tm = env.get_template(template_file_name) msg = tm.render(data=data)