Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
pre-commit-ci[bot] committed Dec 1, 2024
1 parent d1be3e2 commit ac5a5db
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion afxdl/main.py
Original file line number Diff line number Diff line change
@@ -92,7 +92,9 @@ def main(test_args: list[str] | None = None) -> None:
"""
args = __parse_args(test_args)
with requests.Session() as session:
session.headers['User-Agent'] = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36'
session.headers["User-Agent"] = (
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"
)
session.mount(
"https://",
HTTPAdapter(

0 comments on commit ac5a5db

Please sign in to comment.