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) # -----------------------------------------------------------------------------