Skip to content

Commit

Permalink
reverting last commit, avoid importing the library
Browse files Browse the repository at this point in the history
  • Loading branch information
betolink committed Feb 9, 2024
1 parent 19b6be1 commit d20f713
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion earthaccess/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from .daac import DAACS

try:
user_agent = f"earthaccess v{earthaccess.__version__}"
user_agent = f"earthaccess v{importlib.metadata.version('earthaccess')}"
except importlib.metadata.PackageNotFoundError:
user_agent = "earthaccess"

Expand Down

0 comments on commit d20f713

Please sign in to comment.