X-Git-Url: https://projects.mako.cc/source/twitter-api-cdsw/blobdiff_plain/d157b6236fb8b3fc3fb51c38f2bcb235b22ccd8c..4b0f484cf92d3dd4a04eff17a3c52e2dd1dde9b1:/tweepy/models.py?ds=inline diff --git a/tweepy/models.py b/tweepy/models.py index af80986..30456b2 100644 --- a/tweepy/models.py +++ b/tweepy/models.py @@ -75,13 +75,6 @@ class Status(Model): @classmethod def parse(cls, api, json): status = cls(api) - - # I'm not proud. Blame billg. - import sys - json['text'] = str(json['text'].encode(sys.stdout.encoding, 'replace'))[2:-1] - if 'user' in json: - json['user']['screen_name'] = str(json['user']['screen_name'].encode(sys.stdout.encoding, 'replace'))[2:-1] - setattr(status, '_json', json) for k, v in json.items(): if k == 'user':