Skip to content

Commit d20f713

Browse files
committed
reverting last commit, avoid importing the library
1 parent 19b6be1 commit d20f713

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

earthaccess/auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
from .daac import DAACS
1414

1515
try:
16-
user_agent = f"earthaccess v{earthaccess.__version__}"
16+
user_agent = f"earthaccess v{importlib.metadata.version('earthaccess')}"
1717
except importlib.metadata.PackageNotFoundError:
1818
user_agent = "earthaccess"
1919

0 commit comments

Comments
 (0)