add attribute 'ext'
This commit is contained in:
parent
f97f6afa3c
commit
6c0e9e34a2
4 changed files with 19 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue