Add datasheet URL to cable details
This commit is contained in:
4
run.py
4
run.py
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user