Commit 1055575c authored by Matthijs Mekking's avatar Matthijs Mekking 🏡

Merge branch 'matthijs-fix-digdelv-yamlget' into 'master'

Fix digdelv test

See merge request !3383
parents 2e7bfad2 464d0417
......@@ -24,7 +24,7 @@ with open(sys.argv[1], "r") as f:
key = int(key)
except ValueError:
pass
if key not in item:
print('error: index not found')
sys.exit(1)
item = item[key]
print(item)
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