aboutsummaryrefslogtreecommitdiff
path: root/lesana
diff options
context:
space:
mode:
Diffstat (limited to 'lesana')
-rw-r--r--lesana/collection.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lesana/collection.py b/lesana/collection.py
index 766617c..464dbde 100644
--- a/lesana/collection.py
+++ b/lesana/collection.py
@@ -56,6 +56,8 @@ class Entry(object):
data += ("{name}: |\n .\n".format(**field))
elif t == 'integer':
data += ("{name}: 0\n".format(**field))
+ elif t == 'list':
+ data += ("{name}: []\n".format(**field))
else:
data += ("{name}: \n".format(**field))
return ruamel.yaml.load(data, Loader=ruamel.yaml.RoundTripLoader)