From 267a76226233997eeffa380544e122b493ebb4b6 Mon Sep 17 00:00:00 2001 From: prculley Date: Sat, 28 Jan 2017 10:49:49 -0600 Subject: [PATCH 1/2] Fix CSV export options for new parameters --- gramps/plugins/export/exportcsv.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gramps/plugins/export/exportcsv.py b/gramps/plugins/export/exportcsv.py index 3e1606dd7..c4dcdd163 100644 --- a/gramps/plugins/export/exportcsv.py +++ b/gramps/plugins/export/exportcsv.py @@ -114,8 +114,9 @@ class CSVWriterOptionBox(WriterOptionBox): the options. """ - def __init__(self, person, dbstate, uistate): - WriterOptionBox.__init__(self, person, dbstate, uistate) + def __init__(self, person, dbstate, uistate, track=[], window=None): + WriterOptionBox.__init__(self, person, dbstate, uistate, track=track, + window=window) ## TODO: add place filter selection self.include_individuals = 1 self.include_marriages = 1 From d52a8f0a61b8e6483693b19a1296ca316bc979aa Mon Sep 17 00:00:00 2001 From: Sam Manzi Date: Wed, 1 Feb 2017 11:33:11 +1100 Subject: [PATCH 2/2] Editorial Indent as per review. --- gramps/plugins/export/exportcsv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/plugins/export/exportcsv.py b/gramps/plugins/export/exportcsv.py index c4dcdd163..685a03e29 100644 --- a/gramps/plugins/export/exportcsv.py +++ b/gramps/plugins/export/exportcsv.py @@ -116,7 +116,7 @@ class CSVWriterOptionBox(WriterOptionBox): """ def __init__(self, person, dbstate, uistate, track=[], window=None): WriterOptionBox.__init__(self, person, dbstate, uistate, track=track, - window=window) + window=window) ## TODO: add place filter selection self.include_individuals = 1 self.include_marriages = 1