corrected options.error --> parser.error

This commit is contained in:
Philip Eisenlohr 2014-01-27 14:30:37 +00:00
parent 350f5bad00
commit 1bd456aa22
1 changed files with 1 additions and 1 deletions

View File

@ -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)