Skip to content

Commit 122e031

Browse files
committed
updated status code check
1 parent 8c17bd2 commit 122e031

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

labelbox/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1617,7 +1617,7 @@ def remove_feature_schema_from_ontology(self, ontology_id: str,
16171617
headers=self.headers,
16181618
)
16191619

1620-
if response.status_code == 200:
1620+
if response.status_code == requests.codes.ok:
16211621
response_json = response.json()
16221622
if response_json['archived'] == True:
16231623
print(

0 commit comments

Comments
 (0)