diff --git a/Hlt/Moore/python/Moore/production.py b/Hlt/Moore/python/Moore/production.py index e49c28f43f1eb51a7deafd37986e0f8f036cda2a..bf43c08ec37273a2a0a4e8da6cd2e878a8574c4b 100644 --- a/Hlt/Moore/python/Moore/production.py +++ b/Hlt/Moore/python/Moore/production.py @@ -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