Skip to content

Commit

Permalink
Merge pull request #321 from jarltotland/master
Browse files Browse the repository at this point in the history
fix: do not double encode auth when retrieving release assets
  • Loading branch information
josegonzalez authored Jul 29, 2024
2 parents 883407f + ba46cb8 commit e774c70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion github_backup/github_backup.py
Original file line number Diff line number Diff line change
Expand Up @@ -1259,7 +1259,7 @@ def backup_releases(args, repo_cwd, repository, repos_template, include_assets=F
download_file(
asset["url"],
os.path.join(release_assets_cwd, asset["name"]),
get_auth(args),
get_auth(args, encode=not args.as_app),
as_app=args.as_app,
fine=True if args.token_fine is not None else False
)
Expand Down

0 comments on commit e774c70

Please sign in to comment.