From 9eeecf8015725ebf0e975e60049bbc151cbac751 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sat, 6 Mar 2021 11:47:18 +0100 Subject: [PATCH] noqa: twitter_api.py --- gamestonk_terminal/sentiment/twitter_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gamestonk_terminal/sentiment/twitter_api.py b/gamestonk_terminal/sentiment/twitter_api.py index 31579279f3f..61aed93f27d 100644 --- a/gamestonk_terminal/sentiment/twitter_api.py +++ b/gamestonk_terminal/sentiment/twitter_api.py @@ -166,7 +166,7 @@ def inference(l_args, s_ticker): n_pct = round(100 * n_pos / df_tweets["probability"].sum()) else: n_neg = abs(df_tweets[df_tweets["prob_sen"] < 0]["prob_sen"].sum()) - n_pct = round(100 * n_neg / df_tweets["probability"].sum()) + n_pct = round(100 * n_neg / df_tweets["probability"].sum()) # noqa: F841 # Parse tweets dt_from = dateutil.parser.parse(df_tweets["created_at"].values[-1])