diff --git a/src/gen/plug/report/_options.py b/src/gen/plug/report/_options.py index e2e0cb08a..80b519b1f 100644 --- a/src/gen/plug/report/_options.py +++ b/src/gen/plug/report/_options.py @@ -434,7 +434,7 @@ class OptionListCollection(_options.OptionListCollection): f.write(' \n' % option_list.get_paper_metric() ) if option_list.get_custom_paper_size(): - size = self.get_last_custom_paper_size() + size = option_list.get_custom_paper_size() f.write(' \n' % (size[0], size[1]) ) if option_list.get_margins(): margins = option_list.get_margins()