Skip to content

Commit 6ad510b

Browse files
authored
Use correct image path when validating during image directory upload (#280)
* Use correct image path when validating during image directory upload * bump version
1 parent 5487639 commit 6ad510b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

roboflow/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from roboflow.models import CLIPModel, GazeModel # noqa: F401
1515
from roboflow.util.general import write_line
1616

17-
__version__ = "1.1.33"
17+
__version__ = "1.1.34"
1818

1919

2020
def check_key(api_key, model, notebook, num_retries=0):

roboflow/core/project.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ def upload(
431431
images = os.listdir(image_path)
432432
for image in images:
433433
path = image_path + "/" + image
434-
if self.check_valid_image(image):
434+
if self.check_valid_image(path):
435435
self.single_upload(
436436
image_path=path,
437437
annotation_path=annotation_path,

0 commit comments

Comments
 (0)