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)