diff --git a/gramps/gen/plug/report/_options.py b/gramps/gen/plug/report/_options.py index e64d67743..7f13996f0 100644 --- a/gramps/gen/plug/report/_options.py +++ b/gramps/gen/plug/report/_options.py @@ -601,14 +601,13 @@ class OptionHandler(_options.OptionHandler): """ Implements handling of the options for the plugins. """ - def __init__(self, module_name, options_dict, filename): - self.default_filename = filename + def __init__(self, module_name, options_dict): _options.OptionHandler.__init__(self, module_name, options_dict, None) def init_subclass(self): self.collection_class = OptionListCollection self.list_class = OptionList - self.filename = self.default_filename + self.filename = REPORT_OPTIONS def init_common(self): """ @@ -778,12 +777,9 @@ class ReportOptions(_options.Options): self.options_dict = {} self.options_help = {} self.handler = None - self.default_report_options_file = os.path.join(dbase.full_name, - "report_options.xml") def load_previous_values(self): - self.handler = OptionHandler(self.name, self.options_dict, - self.default_report_options_file) + self.handler = OptionHandler(self.name, self.options_dict) def make_default_style(self, default_style): """