From 8dd54cccdc73217a876276588c170e27f4aca0e4 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Thu, 21 May 2020 10:57:13 +1000 Subject: [PATCH] Add missing arguments to show_by_obj in add --- src/pyelephant.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pyelephant.py b/src/pyelephant.py index aec7c49..1f22635 100755 --- a/src/pyelephant.py +++ b/src/pyelephant.py @@ -13,7 +13,7 @@ def add(session: sa.orm.Session, title: str): obj = Task(title=title) session.add(obj) session.commit() - show_by_obj(obj) + show_by_obj(session, obj) # -----------------------------------------------------------------------------