fixed syntax error: ’options.error’ —> ‘parser.error’ for error handling

This commit is contained in:
Philip Eisenlohr 2014-11-18 15:20:57 +00:00
parent 99ffa554eb
commit 7136db1fd8
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,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'); sys.exit()
reader = vtk.vtkXMLPolyDataReader()
reader.SetFileName(options.vtk)