Unverified Commit e79b2dcf authored by Sebastian Schüpbach's avatar Sebastian Schüpbach
Browse files

set access for intro always to public


Signed-off-by: Sebastian Schüpbach's avatarSebastian Schüpbach <sebastian.schuepbach@unibas.ch>
parent 46c5a252
Pipeline #18522 passed with stages
in 1 minute and 59 seconds
......@@ -257,6 +257,7 @@ def _create_audio_snippet_entry(record, mariadb_cursor) -> list:
logging.warning("No duration for audio found: Setting duration to 0")
snippet_record['duration'] = 0
snippet_record['sig'] = snippet_record['sig'] + '-intro'
snippet_record['access'] = 'public'
# //@formatter:off
snippet_record['duration'] = \
30 if _normalize_duration(snippet_record['duration']) >= 30 \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment