Skip to content

Commit

Permalink
Fix user-agent string (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
iqrusso authored Aug 26, 2024
1 parent c899b36 commit 391c16a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyalex/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def __setattr__(self, key, value):
config = AlexConfig(
email=None,
api_key=None,
user_agent="pyalex/{__version__}",
user_agent=f"pyalex/{__version__}",
openalex_url="https://api.openalex.org",
max_retries=0,
retry_backoff_factor=0.1,
Expand Down

0 comments on commit 391c16a

Please sign in to comment.