diff options
author | Henrique Joaquim <h.joaquim@campus.fct.unl.pt> | 2023-03-08 12:08:59 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-08 12:08:59 +0000 |
commit | 5656dacff624563f733688e823ee3ed52c4aecfa (patch) | |
tree | 22f650c7dce465717e3df593275b1c87851cbe0f | |
parent | ff750ca00d5f4899b926862d99e4a2ceabefa692 (diff) |
Fix ff breaking terminal (#4431)
-rw-r--r-- | openbb_terminal/helper_funcs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbb_terminal/helper_funcs.py b/openbb_terminal/helper_funcs.py index 9d7a0ae8be8..a14ff2d2faf 100644 --- a/openbb_terminal/helper_funcs.py +++ b/openbb_terminal/helper_funcs.py @@ -1975,7 +1975,7 @@ def update_news_from_tweet_to_be_displayed() -> str: url = f"https://twitter.com/x/status/{last_tweet.id_str}" # In case the handle provided doesn't exist, we skip it - except tweepy.errors.NotFound: + except (tweepy.errors.NotFound, tweepy.errors.Unauthorized): pass if last_tweet_dt and news_tweet_to_use: |