Skip to content

Commit

Permalink
a few more 0.6 pushes to fit in
Browse files Browse the repository at this point in the history
  • Loading branch information
mpentler committed Feb 7, 2018
1 parent ba35cff commit b144706
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions teletext-twitter/output.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ def write_search_term(twitter_object, search_term, config): # search recent twee
line_position += 1

def write_user_timeline(twitter_object, username, config):
print("user mode, username: @{}".format(username))

statuses = twitter_object.GetUserTimeline(screen_name=username, count=5)
line_position = 4

Expand Down
3 changes: 1 addition & 2 deletions teletext-twitter/processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
import textwrap
import re

# character replacement and stripping function
def clean_tweet(tweet):
def clean_tweet(tweet): # character replacement and stripping function
# first, get rid of as many emojis as possible
emoji_pattern = re.compile("[" # our unicode ranges go here. this will need frequent tweaking
u"\U00002300-\U000023FF" # misc technical
Expand Down

0 comments on commit b144706

Please sign in to comment.