From: Pietro Date: Sat, 18 Jul 2015 06:40:41 +0000 (+0200) Subject: Parse quoted_status dict to Status object X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=e79447854d85ebc29dce58bc40496296745dda82;p=tweepy.git Parse quoted_status dict to Status object --- diff --git a/tweepy/models.py b/tweepy/models.py index 30456b2..21449d0 100644 --- a/tweepy/models.py +++ b/tweepy/models.py @@ -93,6 +93,8 @@ class Status(Model): setattr(status, 'source_url', None) elif k == 'retweeted_status': setattr(status, k, Status.parse(api, v)) + elif k == 'quoted_status': + setattr(status, k, Status.parse(api, v)) elif k == 'place': if v is not None: setattr(status, k, Place.parse(api, v))