Skip to content

Commit

Permalink
Update i.asf.download.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ninsbl authored Aug 23, 2023
1 parent 9a1c36b commit 1d0442a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/imagery/i.asf.download/i.asf.download.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def get_asf_token(token_file=None):
if os.path.exists(token_file):
try:
with open(token_file, "r", encoding="UTF8") as asf_token_file:
asf_token = asf_token_file.read()
asf_token = asf_token_file.read().rstrip()
except OSError as error:
raise error
if not asf_token:
Expand Down

0 comments on commit 1d0442a

Please sign in to comment.