Skip to content
Snippets Groups Projects
Commit 5b835569 authored by nimrod's avatar nimrod
Browse files

Improved handling of DCPs without mxf (just subtitles).

parent 0f51231f
No related branches found
No related tags found
No related merge requests found
...@@ -157,7 +157,7 @@ class DCP: ...@@ -157,7 +157,7 @@ class DCP:
try: try:
self.duration = max ([x.duration for x in self.assets if hasattr (x, 'duration')]) self.duration = max ([x.duration for x in self.assets if hasattr (x, 'duration')])
except: except:
pass self.duration = 'Unknown'
if __name__ == '__main__': if __name__ == '__main__':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment