diff --git a/processing/post/addDisplacement.py b/processing/post/addDisplacement.py index 611e21db2..bc1d7377b 100755 --- a/processing/post/addDisplacement.py +++ b/processing/post/addDisplacement.py @@ -128,7 +128,8 @@ for name in filenames: outname = outname, buffered = False) except: continue - damask.util.report(scriptName,'{}{}'.format(name,' --> {}'.format(outname) if outname else '')) + damask.util.report(scriptName,'{}{}'.format(name if name else '', + ' --> {}'.format(outname) if outname else '')) # ------------------------------------------ read header ------------------------------------------