This commit is contained in:
Martin Diehl 2020-03-17 00:51:21 +01:00
parent 4de7d032b5
commit 8e0a91f948
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ for name in filenames:
damask.util.report(scriptName,name)
table = damask.Table.from_ASCII(StringIO(''.join(sys.stdin.read())) if name is None else name)
for label,substitue in enumerate(options.label,options.substitute):
for label,substitute in zip(options.label,options.substitute):
table.rename(label,substitute,scriptID+' '+' '.join(sys.argv[1:]))
table.to_ASCII(sys.stdout if name is None else name)