Fixed error with profile images in DMs

This commit is contained in:
Anna 2010-05-18 12:29:07 -04:00
parent 3357249d28
commit 7a5ae9235e

View File

@ -353,7 +353,7 @@ def dms_to_statuses(direct_messages):
status.user = User() status.user = User()
status.user.screen_name = dm.sender_screen_name status.user.screen_name = dm.sender_screen_name
status.user.name = dm.sender.name status.user.name = dm.sender.name
status.user.profile.image_url = dm.sender.profile_image_url status.user.profile.image_url = dm.sender.profile.image_url
status.created_at = dm.created_at status.created_at = dm.created_at
status.text = dm.text status.text = dm.text
statuses.append(status) statuses.append(status)