Skip to content

Commit f974bfe

Browse files
committed
Fix typo
1 parent e6f71d0 commit f974bfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

caltechdata_api/caltechdata_write.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def caltechdata_write(
161161
url + "/api/records", headers=headers, json=data, verify=verify
162162
)
163163
if result.status_code != 201:
164-
raise Exceltion(result.text)
164+
raise Exception(result.text)
165165
idv = result.json()["id"]
166166
print(f"record {idv} created")
167167
publish_link = result.json()["links"]["publish"]

0 commit comments

Comments
 (0)