capture missing --vtk option

This commit is contained in:
Philip Eisenlohr 2014-04-03 01:00:00 +00:00
parent c365e1995c
commit babde13c6a
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ datainfo = { # lis
'label':[]},
}
if not os.path.exists(options.vtk):
if options.vtk == None or not os.path.exists(options.vtk):
parser.error('VTK file does not exist')
if os.path.splitext(options.vtk)[1] == '.vtu':