(self)
| 37 | self.conn.commit() |
| 38 | |
| 39 | def _get_last_acc_no(self): |
| 40 | self.cur.execute("SELECT MAX(acc_no) FROM bank") |
| 41 | last = self.cur.fetchone()[0] |
| 42 | return last if last else 0 |
| 43 | |
| 44 | # ----------------- Admin ----------------- |
| 45 | def check_admin(self, name, password): |