height must be integer
This commit is contained in:
parent
a56428620a
commit
9dcd961fff
1 changed files with 1 additions and 0 deletions
|
@ -13,6 +13,7 @@ class Command(BaseCommand):
|
||||||
|
|
||||||
def handle(self, id, height, position, **options):
|
def handle(self, id, height, position, **options):
|
||||||
position = float(position)
|
position = float(position)
|
||||||
|
height = int(height)
|
||||||
i = models.Item.objects.get(public_id=id)
|
i = models.Item.objects.get(public_id=id)
|
||||||
path = i.frame(position, height)
|
path = i.frame(position, height)
|
||||||
if path:
|
if path:
|
||||||
|
|
Loading…
Reference in a new issue