diff --git a/src/gen/plug/report/_options.py b/src/gen/plug/report/_options.py index 265097d9a..80b519b1f 100644 --- a/src/gen/plug/report/_options.py +++ b/src/gen/plug/report/_options.py @@ -571,14 +571,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 = const.REPORT_OPTIONS def init_common(self): """ @@ -743,12 +742,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): """