Fixes Digikey link to open part from xlsx file
Fixes the url to open Digikey's page with details from the cell part number.
This commit is contained in:
parent
b48a9e5ab0
commit
827a7afe44
|
|
@ -792,7 +792,7 @@ def write_xlsx(filename, groups, col_fields, head_names, cfg):
|
|||
worksheet.write_url(row_count, i, datasheet, fmt, cell)
|
||||
# A link to Digi-Key?
|
||||
elif link_digikey and col_fields[i] in link_digikey:
|
||||
url = 'http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=' + cell
|
||||
url = 'https://www.digikey.pt/products/en?keywords=' + cell
|
||||
worksheet.write_url(row_count, i, url, fmt, cell)
|
||||
else:
|
||||
worksheet.write_string(row_count, i, cell, fmt)
|
||||
|
|
|
|||
Loading…
Reference in New Issue