From e1c731f3566a8708aee05a9a153a47942e3d6d4d Mon Sep 17 00:00:00 2001 From: Recolic Keghart <root@recolic.net> Date: Thu, 27 Feb 2020 06:47:36 -0800 Subject: [PATCH] bug fix --- summerize-part-list/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/summerize-part-list/main.py b/summerize-part-list/main.py index c7bcf7c..fa455f3 100755 --- a/summerize-part-list/main.py +++ b/summerize-part-list/main.py @@ -62,7 +62,7 @@ def _main(): serial, product_id, product_name, quantity = line[0], line[1], line[2], line[3] print('[{}]Adding product {} {}({}) ...'.format(serial, quantity, product_name, product_id)) - add_product(serial, product_id, product_name, quantity, must_have_xlsx=config.allow_part_tree_reference) # first-level recursive is enabled. Update: controlled by config, should never switched on. + add_product(serial, product_id, product_name, quantity, must_have_xlsx=True, allow_recursive_part_ref=config.allow_part_tree_reference) # first-level recursive is enabled. Update: controlled by config, should never switched on. _magic_merge_missing_parts() -- GitLab