piping was broken

This commit is contained in:
Martin Diehl 2016-04-22 17:59:50 +02:00
parent 696a3b74ca
commit a3da663931
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ parser.set_defaults(coords = 'pos',
if filenames == []: filenames = [None]
for name in filenames:
isGeom = name.endswith('.geom')
isGeom = name is not None and name.endswith('.geom')
try: table = damask.ASCIItable(name = name,
buffered = False,
labeled = not isGeom,