Skip to content

Commit 9216286

Browse files
committed
Fix attribute ID issue
1 parent fb01f5e commit 9216286

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

superannotate/db/annotation_classes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ def fill_class_and_attribute_names(annotations_json, annotation_classes_dict):
301301
r["className"] = annotation_classes_dict[r["classId"]]["name"]
302302
if "attributes" in r:
303303
for attribute in r["attributes"]:
304-
if "groupId" in attribute and "id" in "attribute":
304+
if "groupId" in attribute and "id" in attribute:
305305
attribute["groupName"] = annotation_classes_dict[
306306
r["classId"]]["attribute_groups"][
307307
attribute["groupId"]]["name"]

superannotate/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "3.1.0"
1+
__version__ = "3.1.1"

0 commit comments

Comments
 (0)