dont print None as frame path
This commit is contained in:
parent
c01be0dc2c
commit
9f68f5a1c6
1 changed files with 2 additions and 1 deletions
|
@ -13,4 +13,5 @@ class Command(BaseCommand):
|
||||||
position = float(position)
|
position = float(position)
|
||||||
i = models.Item.objects.get(itemId=id)
|
i = models.Item.objects.get(itemId=id)
|
||||||
path = i.frame(position, height)
|
path = i.frame(position, height)
|
||||||
print path
|
if path:
|
||||||
|
print path
|
||||||
|
|
Loading…
Reference in a new issue