Skip to content

Commit 734dd3b

Browse files
committed
pr suggestions
1 parent 3f98a70 commit 734dd3b

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
@@ -1589,7 +1589,7 @@ def unarchive_feature_schema_node(self, ontology_id: str,
15891589
ontology_endpoint,
15901590
headers=self.headers,
15911591
)
1592-
if response.status_code == 200:
1592+
if response.status_code == requests.codes.ok:
15931593
return response.json()['unarchived']
15941594
else:
15951595
raise labelbox.exceptions.LabelboxError(

0 commit comments

Comments
 (0)