Skip to content

Commit

Permalink
seek to 0 before uploading (#597)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbohnen authored Feb 10, 2023
1 parent e76b001 commit a05d002
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions quetz/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1351,6 +1351,7 @@ async def post_upload(
condainfo = CondaInfo((body), filename)
dest = os.path.join(condainfo.info["subdir"], filename)

body.seek(0)
pkgstore.add_package(body, channel_name, dest)

package_name = str(condainfo.info.get("name"))
Expand Down

0 comments on commit a05d002

Please sign in to comment.