remove print

This commit is contained in:
Mylloon 2021-08-03 23:50:09 +02:00
parent 41e02bb14e
commit 49ae084324

View file

@ -26,7 +26,6 @@ class Listener(StreamListener):
def on_status(self, status): def on_status(self, status):
"""Answer to tweets.""" """Answer to tweets."""
print(status._json["user"]["id"])
if seniority(status._json["created_at"]): if seniority(status._json["created_at"]):
tweetText = sub(r'https?:\/\/\S+| +?\?|\?| +?\!| ?\!', '', status._json["text"]) tweetText = sub(r'https?:\/\/\S+| +?\?|\?| +?\!| ?\!', '', status._json["text"])
if tweetText.endswith(tuple(quoi)): if tweetText.endswith(tuple(quoi)):