From 76a88ab59c1cca7245192e275adfae50dad03bf7 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Tue, 31 Dec 2013 17:17:21 +0100 Subject: [PATCH] fix item id --- teleforma/management/commands/teleforma-import-seminar-media.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teleforma/management/commands/teleforma-import-seminar-media.py b/teleforma/management/commands/teleforma-import-seminar-media.py index ef40428f..f5e0d0a0 100644 --- a/teleforma/management/commands/teleforma-import-seminar-media.py +++ b/teleforma/management/commands/teleforma-import-seminar-media.py @@ -167,7 +167,7 @@ class Command(BaseCommand): else: collection = collections[0] - id = '_'.join([period.name, '10', collection_id, ext, str(media_rank)]) + id = '_'.join([period.name, '20', collection_id, ext, str(media_rank)]) items = MediaItem.objects.filter(collection=collection, code=id) if not items: -- 2.39.5