Parse quoted_status dict to Status object
authorPietro <pietro210@hotmail.it>
Sat, 18 Jul 2015 06:40:41 +0000 (08:40 +0200)
committerPietro <pietro210@hotmail.it>
Sat, 18 Jul 2015 06:40:41 +0000 (08:40 +0200)
tweepy/models.py

index 30456b257cd95c7553ffebbd5920fdb199c14d82..21449d0374e606525e89f1107f0925a287942dd9 100644 (file)
@@ -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))