diff --git a/kibot/bom/xlsx_writer.py b/kibot/bom/xlsx_writer.py index 4f19aaf3..b5e0eeb8 100644 --- a/kibot/bom/xlsx_writer.py +++ b/kibot/bom/xlsx_writer.py @@ -508,12 +508,6 @@ def _create_kicost_sheet(workbook, groups, image_data, fmt_title, fmt_info, fmt_ set_api_status(api, False) for api in cfg.xlsx.kicost_api_enable: set_api_status(api, True) - # ***** DEBUG!!! - # Test Digi-Key API - os.environ['DIGIKEY_CACHE_TTL'] = '-1' - os.environ['DIGIKEY_STORAGE_PATH'] = op.abspath(op.join(op.dirname(__file__), '../../submodules/KiCost/tests/digikey')) - # logger.setLevel(1) # Max. KiCost debug - # ***** End of DEBUG!!! # Create the projects information structure prj_info = [{'title': p.name, 'company': p.sch.company, 'date': p.sch.date, 'qty': p.number} for p in cfg.aggregate] # Create the worksheets diff --git a/submodules/KiCost b/submodules/KiCost index 99735d4a..d5e5db19 160000 --- a/submodules/KiCost +++ b/submodules/KiCost @@ -1 +1 @@ -Subproject commit 99735d4a4be3e8e5e3e01a7f9aea8d0469c25a36 +Subproject commit d5e5db19ceed37492a718c524bf2dccb67f9ad6c diff --git a/tests/utils/context.py b/tests/utils/context.py index 3fda263e..c859c710 100644 --- a/tests/utils/context.py +++ b/tests/utils/context.py @@ -23,6 +23,13 @@ MODE_SCH = 1 MODE_PCB = 0 # Defined as True to collect real world queries ADD_QUERY_TO_KNOWN = False +# ***** DEBUG!!! +# Test Digi-Key API +# os.environ['DIGIKEY_CACHE_TTL'] = '-1' +# os.environ['DIGIKEY_STORAGE_PATH'] = op.abspath(op.join(op.dirname(__file__), '../../submodules/KiCost/tests/digikey')) +# logger.setLevel(1) # Max. KiCost debug +# ***** End of DEBUG!!! + ng_ver = os.environ.get('KIAUS_USE_NIGHTLY') if ng_ver: