Provide default node title for CSV export

no need to throw an error if config doesn't define one
This commit is contained in:
Lance Edgar 2019-10-28 01:26:47 -05:00
parent 131e5d7c1f
commit fa1e0c93e2

View file

@ -43,7 +43,7 @@ class FromCoreToCSV(FromSQLAlchemyToCSVMixin, FromCoreHandler, ToCSVHandler):
@property
def host_title(self):
return self.config.node_title()
return self.config.node_title(default="CORE")
def get_model(self):
return corepos