Provide default node title for CSV export
no need to throw an error if config doesn't define one
This commit is contained in:
parent
131e5d7c1f
commit
fa1e0c93e2
|
@ -43,7 +43,7 @@ class FromCoreToCSV(FromSQLAlchemyToCSVMixin, FromCoreHandler, ToCSVHandler):
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def host_title(self):
|
def host_title(self):
|
||||||
return self.config.node_title()
|
return self.config.node_title(default="CORE")
|
||||||
|
|
||||||
def get_model(self):
|
def get_model(self):
|
||||||
return corepos
|
return corepos
|
||||||
|
|
Loading…
Reference in a new issue