add attribute 'ext'

This commit is contained in:
Romain Bignon 2013-07-27 13:32:11 +02:00
commit 6c0e9e34a2
4 changed files with 19 additions and 1 deletions

View file

@ -38,6 +38,7 @@ class Subtitle(CapBaseObject):
Subtitle object.
"""
name = StringField('Name of subtitle')
ext = StringField('Extension of file')
url = StringField('Direct url to subtitle file')
nb_cd = IntField('Number of cd or files')
language = StringField('Language of the subtitle')
@ -47,7 +48,6 @@ class Subtitle(CapBaseObject):
CapBaseObject.__init__(self, id)
self.name = name
class ICapSubtitle(IBaseCap):
"""
Subtitle providers.