Skip to content

Commit

Permalink
Use correct image path when validating during image directory upload (#…
Browse files Browse the repository at this point in the history
…280)

* Use correct image path when validating during image directory upload

* bump version
  • Loading branch information
SolomonLake authored Jul 3, 2024
1 parent 5487639 commit 6ad510b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion roboflow/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from roboflow.models import CLIPModel, GazeModel # noqa: F401
from roboflow.util.general import write_line

__version__ = "1.1.33"
__version__ = "1.1.34"


def check_key(api_key, model, notebook, num_retries=0):
Expand Down
2 changes: 1 addition & 1 deletion roboflow/core/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ def upload(
images = os.listdir(image_path)
for image in images:
path = image_path + "/" + image
if self.check_valid_image(image):
if self.check_valid_image(path):
self.single_upload(
image_path=path,
annotation_path=annotation_path,
Expand Down

0 comments on commit 6ad510b

Please sign in to comment.