Slightly shallower resized image paths.

git-svn-id: http://django-avatar.googlecode.com/svn/trunk@32 c76b2324-5f53-0410-85ac-b1078a54aeeb
This commit is contained in:
Eric Florenzano 2008-10-28 06:53:08 +00:00
parent 42b0361d4b
commit 57c036ed39

View file

@ -75,4 +75,4 @@ class Avatar(models.Model):
def avatar_name(self, size):
return os.path.join(AVATAR_STORAGE_DIR, self.user.username,
'resized', str(self.id), '-'.join([str(size), self.avatar.name]))
'resized', str(size), self.avatar.name)