From c531fb68c42ab588b7266305797db560cdf9ad6e Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sun, 1 Jul 2012 12:17:04 +0000 Subject: [PATCH] update poster aspect on poster update --- pandora/item/tasks.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pandora/item/tasks.py b/pandora/item/tasks.py index b23b0837..bc4d6d31 100644 --- a/pandora/item/tasks.py +++ b/pandora/item/tasks.py @@ -51,6 +51,8 @@ def update_poster(itemId): item.make_icon() models.Item.objects.filter(pk=item.id).update( poster=item.poster.name, + poster_height=item.poster.height, + poster_width=item.poster.width, icon=item.icon.name )