summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)