fix bug in verbose
This commit is contained in:
parent
2513236f6c
commit
9300961afa
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -116,7 +116,7 @@ class Listener(StreamingClient):
|
||||||
if keys["VERBOSE"]:
|
if keys["VERBOSE"]:
|
||||||
infoLastWord = "dernier mot : "
|
infoLastWord = "dernier mot : "
|
||||||
if len(lastWord) > 0:
|
if len(lastWord) > 0:
|
||||||
infoLastWord += f"dernier mot : {lastWord}"
|
infoLastWord += f"dernier mot : {lastWord.split()[-1:][0]}"
|
||||||
else:
|
else:
|
||||||
infoLastWord += "tweet ignoré car trop de hashtags"
|
infoLastWord += "tweet ignoré car trop de hashtags"
|
||||||
print(
|
print(
|
||||||
|
|
Reference in a new issue