diff --git a/ebooks.py b/ebooks.py index 01e8619..e8e7d68 100644 --- a/ebooks.py +++ b/ebooks.py @@ -41,7 +41,6 @@ def filter_tweet(tweet): for item in htmlsents: tweet.text = re.sub(item, entity(item), tweet.text) tweet.text = re.sub(r'\xe9', 'e', tweet.text) #take out accented e -# tweet.text = re.sub(r'\&', '&', tweet.text) #clean up escaped html ampersands return tweet.text