Skip to content

Commit

Permalink
Now making the retweeted_status parameter of a Tweet a Status object
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian Metzler committed May 28, 2013
1 parent 4180d78 commit e0d17b8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tweetpony/models.py
Expand Up @@ -134,6 +134,8 @@ def from_json(cls, data):
value = strptime(value)
elif key == 'user':
value = User.from_json(value)
elif key == 'retweeted_status':
value = Status.from_json(value)
elif key == 'source':
try:
tmp[u'source_url'] = value.split('"')[1]
Expand Down

0 comments on commit e0d17b8

Please sign in to comment.