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]