Load plugins in init.

This commit is contained in:
Mizaki 2023-01-15 17:38:50 +00:00
parent 5394b9f667
commit 100e0f2101

View File

@ -66,10 +66,9 @@ class App:
self.options = settngs.Config({}, {})
self.initial_arg_parser = ctoptions.initial_cmd_line_parser()
self.config_load_success = False
self.talker_plugins: dict = {}
self.talker_plugins = ct_api.get_talkers()
def run(self) -> None:
self.talker_plugins = ct_api.get_talkers()
opts = self.initialize()
self.register_options()
self.parse_options(opts.config)