Skip to content

Commit e774c70

Browse files
authored
Merge pull request #321 from jarltotland/master
fix: do not double encode auth when retrieving release assets
2 parents 883407f + ba46cb8 commit e774c70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

github_backup/github_backup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1259,7 +1259,7 @@ def backup_releases(args, repo_cwd, repository, repos_template, include_assets=F
12591259
download_file(
12601260
asset["url"],
12611261
os.path.join(release_assets_cwd, asset["name"]),
1262-
get_auth(args),
1262+
get_auth(args, encode=not args.as_app),
12631263
as_app=args.as_app,
12641264
fine=True if args.token_fine is not None else False
12651265
)

0 commit comments

Comments
 (0)