From 3aa82a786fdb3d951536a426af5d20808a574625 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Poulain?= Date: Sun, 9 Aug 2020 18:58:14 +0200 Subject: [PATCH] =?UTF-8?q?fix(convert):=20corrige=20une=20tendance=20?= =?UTF-8?q?=C3=A0=20faire=20des=20duplicatas?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- drupal2spip_lal/base/convert.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drupal2spip_lal/base/convert.py b/drupal2spip_lal/base/convert.py index e07238b..bab327f 100644 --- a/drupal2spip_lal/base/convert.py +++ b/drupal2spip_lal/base/convert.py @@ -404,11 +404,11 @@ def convert_node(node, options): ) document_attributes = { - 'media': 'file', - 'extension': extension, 'fichier': fichier, } document_defaults = { + 'extension': extension, + 'media': 'file', 'titre': upload.description, 'date': convert_timestamp(upload.file.timestamp), 'taille': upload.file.filesize,