Skip to content

Commit

Permalink
making nose pass
Browse files Browse the repository at this point in the history
  • Loading branch information
pnpnpn committed Jul 13, 2015
1 parent 736b639 commit 1a69a48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buffpy/managers/updates.py
Expand Up @@ -124,7 +124,7 @@ def new(self, text, shorten=None, now=None, top=None, media=None, when=None):
if media:
media_format = "media[%s]=%s&"

for media_type, media_item in media.items():
for media_type, media_item in sorted(media.items(), reverse=True):
post_data += media_format % (media_type, media_item)

response = self.api.post(url=url, data=post_data)
Expand Down

0 comments on commit 1a69a48

Please sign in to comment.