Removed DIGIKEY_* debug definitions

This commit is contained in:
Salvador E. Tropea 2021-10-25 16:56:18 -03:00
parent 13d2e43c15
commit ef1097375c
3 changed files with 8 additions and 7 deletions

View File

@ -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

@ -1 +1 @@
Subproject commit 99735d4a4be3e8e5e3e01a7f9aea8d0469c25a36
Subproject commit d5e5db19ceed37492a718c524bf2dccb67f9ad6c

View File

@ -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: