Add datasheet URL to cable details

This commit is contained in:
2024-05-12 18:14:39 -05:00
parent c45c59aa62
commit e4861e0590
2 changed files with 8 additions and 4 deletions

4
run.py
View File

@@ -194,6 +194,8 @@ def check_server():
if "image" in cabledata:
tmp1["image"] = cabledata["image"]
if "datasheet" in cabledata:
tmp1["datasheet"] = cabledata["datasheet"]
if "description" in cabledata:
tmp1["description"] = cabledata["description"]
if "short_description" in cabledata:
@@ -276,6 +278,8 @@ def check_server():
tmp1["application"] = fs["Product Overview"]["Suitable Applications:"]
if "image" in cabledata:
tmp1["image"] = cabledata["image"]
if "datasheet" in cabledata:
tmp1["datasheet"] = cabledata["datasheet"]
if "description" in cabledata:
tmp1["description"] = cabledata["description"]
if "short_description" in cabledata: