From cc7ce608d5674036b499477f60ea931dca00cbe9 Mon Sep 17 00:00:00 2001 From: Matthieu Guimard <matthieu.guimard@univ-grenoble-alpes.fr> Date: Fri, 10 Jan 2025 12:47:47 +0100 Subject: [PATCH] delete debug log --- src/ptf_tools/views/base_views.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/ptf_tools/views/base_views.py b/src/ptf_tools/views/base_views.py index 9b0ac0dd..f4823aab 100644 --- a/src/ptf_tools/views/base_views.py +++ b/src/ptf_tools/views/base_views.py @@ -985,8 +985,6 @@ class DeployJatsResourceAPIView(View): "export_to_website": export_to_website, } ).do() - with open(settings.LOG_DIR + "/matthieu_abstracts_image.xml", "w") as debug_file: - debug_file.write(xml) body = xml.encode("utf8") # in this part we handle pics in abstracts. We use JatsParser to get 'specific-use' attribut in <graphic> node in the abstract xml where the location on the uploaded pic is stored -- GitLab