X-Git-Url: https://apps.delaporte.us/gitweb/matrix-goal-bot.git/blobdiff_plain/bbacd38a568a3a580941390939bd590a9c6d87aa..08aa0bb297ebc364cd6b0bc725169c9116454baa:/matrix_goal_bot/db.py diff --git a/matrix_goal_bot/db.py b/matrix_goal_bot/db.py index 1e90bcf..8301733 100644 --- a/matrix_goal_bot/db.py +++ b/matrix_goal_bot/db.py @@ -106,9 +106,6 @@ class Data(): cmd = select(Vision).where(Vision.complete_date == None) return session.exec(cmd).all() - def print_ophan_tasks(self): - pass - def get_all_goals(self): '''List all goals''' with Session(self.engine) as session: @@ -203,7 +200,6 @@ class Data(): return self.add_task(goal_id, name) def add_task(self, goal_id, name): - self._set_pref_goal_id(goal_id) result = self.add_with_name(Task, name) with Session(self.engine) as session: cmd = select(Task).where(Task.name == name)