We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2ad4eb0 + fcaf987 commit 7f664a8Copy full SHA for 7f664a8
src/superannotate/lib/core/helpers.py
@@ -139,7 +139,7 @@ def safe_time(timestamp):
139
return "0" if str(timestamp) == "0.0" else timestamp
140
141
def convert_timestamp(timestamp):
142
- return timestamp / 10 ** 6 if timestamp else None
+ return timestamp / 10 ** 6 if timestamp else "0"
143
144
editor_data = {
145
"instances": [],
@@ -159,7 +159,8 @@ def convert_timestamp(timestamp):
159
"attributes": [],
160
"timeline": {},
161
"type": meta["type"],
162
- "locked": True,
+ # TODO check
163
+ "locked": False,
164
}
165
if class_name:
166
editor_instance["classId"] = class_name_mapper.get(class_name, {}).get(
0 commit comments