remove print
This commit is contained in:
parent
41e02bb14e
commit
49ae084324
1 changed files with 0 additions and 1 deletions
1
main.py
1
main.py
|
@ -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)):
|
||||||
|
|
Reference in a new issue