From e96dce4b077aa92151539e1c9af0539506f4925e Mon Sep 17 00:00:00 2001 From: Gustavo Brito Date: Sun, 18 Oct 2020 13:33:40 -0300 Subject: [PATCH] requirementes --- requirements.txt | 3 ++- ttweets.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 28a35a3..629f927 100644 --- a/requirements.txt +++ b/requirements.txt @@ -10,4 +10,5 @@ unidecode regex sklearn Pillow -gunicorn \ No newline at end of file +gunicorn +mysql-connector-python \ No newline at end of file diff --git a/ttweets.py b/ttweets.py index 1a5a993..ee9269b 100644 --- a/ttweets.py +++ b/ttweets.py @@ -21,7 +21,7 @@ def get_tweets(query): body = response.json() if not body['statuses']: - raise Exception("We don't have tweets to show"); + raise Exception("We don't have tweets to show") else: for tweet in body['statuses']: text = tweet['full_text']