Skip to content

Commit

Permalink
* Fix download path defaults (in binary and in dockerfile)
Browse files Browse the repository at this point in the history
  • Loading branch information
itsankoff committed Nov 3, 2023
1 parent 3dcd792 commit 14298b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ENV AUTH_TOKEN "<GOPRO_AUTH_TOKEN>"
ENV ACTION "download"
ENV PAGES "1"
ENV PER_PAGE "30"
ENV DOWNLOAD_PATH "./download.zip"
ENV DOWNLOAD_PATH "./download"

EXPOSE 80

Expand Down
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def main():
parser.add_argument("--action", help="support actions: {}".format(",".join(actions)), default="download")
parser.add_argument("--pages", nargs="?", help="number of pages to iterate over", type=int, default=sys.maxsize)
parser.add_argument("--per-page", nargs="?", help="number of items per page", type=int, default=30)
parser.add_argument("--download-path", help="path to store the download zip", default="./download.zip")
parser.add_argument("--download-path", help="path to store the download zip", default="./download")

args = parser.parse_args()

Expand Down

0 comments on commit 14298b0

Please sign in to comment.