fix(convert): corrige une tendance à faire des duplicatas
This commit is contained in:
parent
11114ce004
commit
3aa82a786f
@ -404,11 +404,11 @@ def convert_node(node, options):
|
|||||||
)
|
)
|
||||||
|
|
||||||
document_attributes = {
|
document_attributes = {
|
||||||
'media': 'file',
|
|
||||||
'extension': extension,
|
|
||||||
'fichier': fichier,
|
'fichier': fichier,
|
||||||
}
|
}
|
||||||
document_defaults = {
|
document_defaults = {
|
||||||
|
'extension': extension,
|
||||||
|
'media': 'file',
|
||||||
'titre': upload.description,
|
'titre': upload.description,
|
||||||
'date': convert_timestamp(upload.file.timestamp),
|
'date': convert_timestamp(upload.file.timestamp),
|
||||||
'taille': upload.file.filesize,
|
'taille': upload.file.filesize,
|
||||||
|
Loading…
Reference in New Issue
Block a user