diff --git a/src/pyelephant.py b/src/pyelephant.py index 1f22635..3ff348b 100755 --- a/src/pyelephant.py +++ b/src/pyelephant.py @@ -45,7 +45,7 @@ def show_by_id(session: sa.orm.Session, index: int): def ls(session: sa.orm.Session, _all: False): vals = session.query(Task).order_by(Task.created_at) if _all is False: - vals = vals.filter(Task.active is True) + vals = vals.filter(Task.active == True) # noqa for i in vals: show_by_obj(session, i)