soonq/commands/commands.py
def remove_work(self, task):
    """Remove the given task from the work table."""
    con = sqlite3.connect(str(DB_PATH))
    with con:
        con.execute(
            f"""
            DELETE FROM {WORK_TABLENAME}
            WHERE task_id = ?
            """,
            (task.task_id,),
        )
    con.close()
Remove the given task from the work table.
Remove the given task from the work table.
Remove the given task from the work table .
def remove_work(self, task):
    con = sqlite3.connect(str(DB_PATH))
    with con:
        con.execute(
            f"""
            DELETE FROM {WORK_TABLENAME}
            WHERE task_id = ?
            """,
            (task.task_id,),
        )
    con.close()
def remove_work ( self , task ) : con = sqlite3 . connect ( str ( DB_PATH ) ) with con : con . execute ( f"""
            DELETE FROM {WORK_TABLENAME}
            WHERE task_id = ?
            """ , ( task . task_id , ) , ) con . close ( )
Remove the given task from the work table.
Remove the given task from the work table .
"""Remove the given task from the work table."""
self
task