Skip to content

Commit 93702ea

Browse files
committed
fix load
1 parent 90e97b9 commit 93702ea

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

scripts/pr_contains.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ def hif_file_is_ok(rawApiCall):
1616
schema = requests.get(url).json()
1717
validator = fastjsonschema.compile(schema)
1818
rawResponse = requests.get(rawApiCall)
19-
# rawRes = rawResponse.text
20-
hiftext = json.load(rawResponse)
19+
hiftext = json.loads(rawResponse.text)
2120
try:
2221
validator(hiftext)
2322
print("HIF-Compliant JSON.")

0 commit comments

Comments
 (0)