Skip to content
Snippets Groups Projects
Commit 7de09d1d authored by Sebastien Ponce's avatar Sebastien Ponce Committed by Christopher Rob Jones
Browse files

support for pydantic2

parent c6e35d2a
No related branches found
No related tags found
1 merge request!4305support for pydantic2
Pipeline #11017526 passed
......@@ -67,7 +67,7 @@ def hlt2(options: Options, *raw_args):
"Hlt2Conf.settings." + args.settings, package=__package__
)
make_streams = module.make_streams
elif options.lines_maker:
elif getattr(options, "lines_maker", None):
make_streams = options.lines_maker
else:
from Hlt2Conf.settings.defaults import make_all_lines
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment