diff --git a/main.py b/main.py index 8b76355..716b9b3 100644 --- a/main.py +++ b/main.py @@ -116,7 +116,7 @@ class Listener(StreamingClient): if keys["VERBOSE"]: infoLastWord = "dernier mot : " if len(lastWord) > 0: - infoLastWord += f"dernier mot : {lastWord}" + infoLastWord += f"dernier mot : {lastWord.split()[-1:][0]}" else: infoLastWord += "tweet ignoré car trop de hashtags" print(