dont print None as frame path

This commit is contained in:
j 2013-06-28 14:58:05 +00:00
parent c01be0dc2c
commit 9f68f5a1c6
1 changed files with 2 additions and 1 deletions

View File

@ -13,4 +13,5 @@ class Command(BaseCommand):
position = float(position)
i = models.Item.objects.get(itemId=id)
path = i.frame(position, height)
print path
if path:
print path