Skip to content
Snippets Groups Projects

Revised CalCat API

Merged Thomas Kluyver requested to merge calcat-api-2 into master
Compare and Show latest version
3 files
+ 122
20
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -236,6 +236,9 @@ class CalCatApi(metaclass=ClientWrapper):
)
if not resp["success"]:
if resp["status_code"] == 200:
# calibration_client turns empty response into an error
return []
raise CalCatError(resp)
return resp["data"]
Loading