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']