Skip to content

Commit

Permalink
Added missing parentheses
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikolas Dahn committed Sep 9, 2024
1 parent dd6a33a commit ee11343
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/release_3_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import click


@click.command
@click.command()
@click.argument("files", type=click.Path(exists=True), nargs=-1)
@click.option("--key", prompt="Access token")
@click.option("--bucket", prompt="Bucket URL")
Expand All @@ -16,7 +16,7 @@ def main(files, key, bucket):
r = requests.put(
f"{bucket}/{filename}", data=fp, params={"access_token": key}
)
print(f"{r.status_code}:\n{r.json}")
print(f"{r.status_code}:\n{r.json()}")


if __name__ == "__main__":
Expand Down

0 comments on commit ee11343

Please sign in to comment.