height must be integer

This commit is contained in:
j 2014-11-14 17:17:15 +00:00
parent a56428620a
commit 9dcd961fff
1 changed files with 1 additions and 0 deletions

View File

@ -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: