Skip to content

Commit ef4e786

Browse files
committed
quick project name fix
1 parent d9789cd commit ef4e786

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

roboflow/core/project.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,20 +373,22 @@ def __annotation_upload(self, annotation_path: str, image_id: str):
373373
self.annotation_upload_url = "".join(
374374
[
375375
API_URL + "/dataset/",
376-
self.name,
376+
self.__project_name,
377377
"/annotate/",
378378
image_id,
379379
"?api_key=",
380380
self.__api_key,
381381
"&name=" + os.path.basename(annotation_path),
382382
]
383383
)
384+
384385
# Get annotation response
385386
annotation_response = requests.post(
386387
self.annotation_upload_url,
387388
data=annotation_string,
388389
headers={"Content-Type": "text/plain"},
389390
)
391+
390392
# Return annotation response
391393
return annotation_response
392394

0 commit comments

Comments
 (0)