[collection] browser2 adaptation : do not require an params in constructor

This commit is contained in:
Bezleputh 2014-12-18 15:57:30 +01:00 committed by Florent
commit d012e45527

View file

@ -83,7 +83,7 @@ class Collection(BaseCollection):
title = StringField('Collection title')
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
BaseCollection.__init__(self, split_path)