def delete_(id): check = delete.send_delete(id, addr)
def do_delete(self, line): addr = db.data.find("data", "all")[0]['addr'] print delete.send_delete(line, addr)
def do_delete(self, line): self.lastcmd = "" addr = db.data.find("data", "all")[0]["addr"] print delete.send_delete(line, addr)