Skip to content

Commit

Permalink
Rename parameter for timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
dahlia committed May 31, 2013
1 parent fe34fa9 commit ab4a3bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sqlalchemy_imageattach/store.py
Expand Up @@ -269,7 +269,7 @@ def locate(self, image):
url = self.get_url(image.object_type, image.object_id,
image.width, image.height, image.mimetype)
if '?' in url:
fmt = '{0}&_xpop_t={1}'
fmt = '{0}&_ts={1}'
else:
fmt = '{0}?_xpop_t={1}'
fmt = '{0}?_ts={1}'
return fmt.format(url, image.created_at.strftime('%Y%m%d%H%M%S%f'))

0 comments on commit ab4a3bb

Please sign in to comment.