[collection] browser2 adaptation : do not require an params in constructor
This commit is contained in:
parent
3dcca5452c
commit
d012e45527
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ class Collection(BaseCollection):
|
||||||
title = StringField('Collection title')
|
title = StringField('Collection title')
|
||||||
split_path = Field('Full collection path', list)
|
split_path = Field('Full collection path', list)
|
||||||
|
|
||||||
def __init__(self, split_path, title=None):
|
def __init__(self, split_path=None, title=None):
|
||||||
self.title = title
|
self.title = title
|
||||||
BaseCollection.__init__(self, split_path)
|
BaseCollection.__init__(self, split_path)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue