Skip to content

Commit

Permalink
warn is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
asauerwein-nts committed Apr 22, 2024
1 parent 41e6c5b commit 677d6f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions download_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def compare_access_token():
try:
options_access_token_json = jwt_decode(ACCESS_TOKEN)
except Exception as e:
logging.warn(f"Could not Parse Access Token from Options, {e}")
logging.warning(f"Could not Parse Access Token from Options, {e}")

if not file_access_token_json and not options_access_token_json:
logging.error(
Expand All @@ -169,7 +169,7 @@ def compare_access_token():
# nothing to do, ACCESS_TOKEN already set to options
pass
else:
logging.warn("Unhandled Case when comparing access tokens")
logging.warning("Unhandled Case when comparing access tokens")


def compare_refresh_token():
Expand Down

0 comments on commit 677d6f3

Please sign in to comment.