From 79cdea99a2edbbcc586027e1f68281f0d9c60e95 Mon Sep 17 00:00:00 2001 From: Ed Leafe Date: Fri, 27 Jun 2014 09:37:43 -0500 Subject: [PATCH] Revert "small bug in interactive import example" --- samples/images/import_task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/images/import_task.py b/samples/images/import_task.py index 894f3fb1..6c046b2b 100644 --- a/samples/images/import_task.py +++ b/samples/images/import_task.py @@ -59,7 +59,7 @@ except ValueError: print("'%s' is not a valid number." % snum) exit() -if not 0 <= num < len(objs): +if not 0 <= num < len(conts): print("'%s' is not a valid object number." % snum) exit() obj = objs[num]