summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2016-12-19 22:26:00 +0100
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2016-12-19 22:26:00 +0100
commitbb97d461aa1c229152b337d466fb2089ef1861ef (patch)
tree763891a1ceaf8c20d212df5fdf20132ba9428620
parentcb3e5563633c3a41dde6dac1470ae1334b2ccc9f (diff)
missing []
-rw-r--r--lesana/command.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lesana/command.py b/lesana/command.py
index cefd457..e6dbce8 100644
--- a/lesana/command.py
+++ b/lesana/command.py
@@ -13,5 +13,5 @@ class New(gadona.Command):
def main(self):
collection = Collection()
new_entry = Entry(collection)
- collection.save_entries(new_entry)
+ collection.save_entries([new_entry])
print(new_entry.fname)