From 1276d587a4e4422b201cd2aa05048491f13412e4 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Thu, 14 Dec 2023 17:11:22 +0100 Subject: [PATCH] report: fix setting config loaded callback on configure --- mylib/report.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mylib/report.py b/mylib/report.py index 5026283..645830e 100644 --- a/mylib/report.py +++ b/mylib/report.py @@ -40,6 +40,7 @@ class Report(ConfigurableObject): # pylint: disable=useless-object-inheritance """Configure options on registered mylib.Config object""" section = super().configure( just_try_help=kwargs.pop("just_try_help", "Just-try mode: do not really send report"), + loaded_callback=self.initialize, **kwargs, )