avoid error for empty "name"

This commit is contained in:
Philip Eisenlohr 2019-01-23 20:56:01 -05:00
parent e7d344c4e8
commit 74956c0290
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ for name in filenames:
(['data'] if options.data else []) +
[]
)
damask.util.report(scriptName,name + ('' if details == '' else ' -- '+details))
damask.util.report(scriptName,(name if name is not None else '') + ('' if details == '' else ' -- '+details))
# ------------------------------------------ output head ---------------------------------------