Skip to content

Commit

Permalink
marc21: return dummy video duration
Browse files Browse the repository at this point in the history
  • Loading branch information
egabancho authored and drjova committed Oct 2, 2017
1 parent f7fd394 commit 4b9df99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cds_dojson/marc21/fields/videos/video.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def duration(self, key, value):
return re.match('(\d{2}:\d{2}:\d{2})(\.\d+)?', value.get('a')).group(1)
except AttributeError:
# The regex didn't match, we will extract the duration later.
return None
return '00:00:00'


# Language
Expand Down

0 comments on commit 4b9df99

Please sign in to comment.