From 9f68f5a1c6ea4e2befdb91597f87b3588f558684 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Fri, 28 Jun 2013 14:58:05 +0000 Subject: [PATCH] dont print None as frame path --- pandora/item/management/commands/get_frame.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pandora/item/management/commands/get_frame.py b/pandora/item/management/commands/get_frame.py index 37f4e1f5..06910f0d 100644 --- a/pandora/item/management/commands/get_frame.py +++ b/pandora/item/management/commands/get_frame.py @@ -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