From fa1e0c93e247950ce1bb9b558ed2dd8baa73bcfd Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Mon, 28 Oct 2019 01:26:47 -0500 Subject: [PATCH] Provide default node title for CSV export no need to throw an error if config doesn't define one --- rattail_corepos/corepos/importing/exporters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rattail_corepos/corepos/importing/exporters.py b/rattail_corepos/corepos/importing/exporters.py index 8edd258..f4c024d 100644 --- a/rattail_corepos/corepos/importing/exporters.py +++ b/rattail_corepos/corepos/importing/exporters.py @@ -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