From 9dcd961fff14bfb36e50bc694802b8f90b97c1e4 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Fri, 14 Nov 2014 17:17:15 +0000 Subject: [PATCH] height must be integer --- pandora/item/management/commands/get_frame.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pandora/item/management/commands/get_frame.py b/pandora/item/management/commands/get_frame.py index b9a507b67..5c515f417 100644 --- a/pandora/item/management/commands/get_frame.py +++ b/pandora/item/management/commands/get_frame.py @@ -13,6 +13,7 @@ class Command(BaseCommand): def handle(self, id, height, position, **options): position = float(position) + height = int(height) i = models.Item.objects.get(public_id=id) path = i.frame(position, height) if path: