Skip to content

Commit

Permalink
Revert "small bug in interactive import example"
Browse files Browse the repository at this point in the history
  • Loading branch information
EdLeafe committed Jun 27, 2014
1 parent f16825a commit 79cdea9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/images/import_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 79cdea9

Please sign in to comment.