Commit b0b3c26d authored by ale's avatar ale

fix bug #6

parent 31706e46
......@@ -150,8 +150,10 @@ class Video(object):
return s
if strict:
return None
else:
elif len(self.synopsis) > 0:
return self.synopsis[0]
else:
return None
def get_files_by_role(self, *roles):
"""Returns just files with a certain role (like, 'screenshot')."""
......
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