From 1bd456aa2219b9b4afb3efc5e454f988d0e4423a Mon Sep 17 00:00:00 2001 From: Philip Eisenlohr Date: Mon, 27 Jan 2014 14:30:37 +0000 Subject: [PATCH] corrected options.error --> parser.error --- processing/post/vtk_addVoxelcloudData.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/processing/post/vtk_addVoxelcloudData.py b/processing/post/vtk_addVoxelcloudData.py index 03ea04046..42ab5db40 100755 --- a/processing/post/vtk_addVoxelcloudData.py +++ b/processing/post/vtk_addVoxelcloudData.py @@ -51,7 +51,7 @@ datainfo = { # lis } if not os.path.exists(options.vtk): - options.error('VTK file does not exist'); sys.exit() + parser.error('VTK file does not exist') reader = vtk.vtkXMLUnstructuredGridReader() reader.SetFileName(options.vtk)