Skip to content

Commit

Permalink
Refactor entrypoint.py to fix issue with uploading resources to ROHub
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricdcc committed Sep 23, 2024
1 parent a3f35ae commit c02b6f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def main():
# add the zip file to the ro project
# make sure pd is a pathlib object
path_to_zip = pathlib.Path(pd) / "demo_rohub.zip"
rohub.ros_upload_resources(rohub_id, str(path_to_zip))
rohub.ros_upload_resources(rohub_id, path_to_zip)

# delete the zip file
os.remove(path_to_zip)
Expand Down

0 comments on commit c02b6f9

Please sign in to comment.