diff --git a/getter.py b/getter.py index 6c4cfab..e096b0b 100755 --- a/getter.py +++ b/getter.py @@ -33,7 +33,7 @@ while True: for status in timeline: if status.text.find("@" + user) > 1: continue - text = status.text.encode("UTF-8").split(" ")[1] + text = status.text.encode("UTF-8")[status.text.find(" ")+1:] sender = status.user.screen_name.encode("UTF-8") twid = int(status.id) try: