Commit 2a452e95 authored by Alexander Couzens's avatar Alexander Couzens

bin/create-job.py: fix parsing of metafile

It was not possible to use metafiles before
parent b19acd4f
......@@ -42,7 +42,8 @@ def parse_metadata(args):
raise RuntimeError("Can not parse argument 'meta %s'" % meta)
if args.metafile:
metadata.update(json.load(args.metafile))
for meta in args.metafile:
metadata.update(json.load(meta))
return metadata
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment