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,