| author | ymh <ymh.work@gmail.com> |
| Mon, 24 Aug 2015 13:22:44 +0200 | |
| changeset 1417 | 0b9861a16135 |
| parent 1416 | 9d6e4a8c9dc7 |
| child 1418 | c8c62c470624 |
--- a/src/ldt/ldt/ldt_utils/contentindexer.py Mon Aug 24 13:04:05 2015 +0200 +++ b/src/ldt/ldt/ldt_utils/contentindexer.py Mon Aug 24 13:22:44 2015 +0200 @@ -264,7 +264,7 @@ seg_data = { k: params[k] for k in ['content', 'ensemble_id', 'cutting_id', 'element_id', 'title', 'abstract', 'start_ts', 'duration', 'date', 'author', - 'audio_src', 'audio_href'] and k in params } + 'audio_src', 'audio_href'] if k in params } if params.has_key("content"): seg_data["iri_id"] = params["content"].iri_id