From 64a0d7a77d4c07ebebae9fbec0e74225f148fa44 Mon Sep 17 00:00:00 2001 From: Davis King Date: Sun, 9 Mar 2014 13:37:30 -0400 Subject: [PATCH] changed python example so that running it without commands doesn't trigger a testing failure in the makedocs script --- python_examples/train_object_detector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python_examples/train_object_detector.py b/python_examples/train_object_detector.py index ad9a1304b..9e97ebad9 100755 --- a/python_examples/train_object_detector.py +++ b/python_examples/train_object_detector.py @@ -28,7 +28,7 @@ if (len(sys.argv) != 2): print "program. For example, if you are in the python_examples folder then " print "execute this program by running:" print " ./train_object_detector.py ../examples/faces" - exit(1) + exit() faces_folder = sys.argv[1]