From e79447854d85ebc29dce58bc40496296745dda82 Mon Sep 17 00:00:00 2001 From: Pietro Date: Sat, 18 Jul 2015 08:40:41 +0200 Subject: [PATCH] Parse quoted_status dict to Status object --- tweepy/models.py | 2 ++ 1 file changed, 2 insertions(+) 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)) -- 2.25.1