8000 formatting · ssppkenny/python-for-android@9f26b7a · GitHub
[go: up one dir, main page]

Skip to content

Commit 9f26b7a

Browse files
committed
formatting
1 parent 1068a81 commit 9f26b7a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pythonforandroid/recipe.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,7 @@ def report_hook(index, blksize, size):
216216
# Mozilla/5.0 doesnt handle redirection for liblzma
217217
url_opener.addheaders = [('User-agent', 'Wget/1.0')]
218218
if self.github_access_token:
219-
url_opener.addheaders += [('Authorization', f'token {self.github_access_token}'),
220-
('Accept', 'application/vnd.github.v3.raw')]
219+
url_opener.addheaders += [('Authorization', f'token {self.github_access_token}'), ('Accept', 'application/vnd.github.v3.raw')]
221220
urlretrieve(url, target, report_hook)
222221
except OSError as e:
223222
attempts += 1

0 commit comments

Comments
 (0)
0