(service_, password_)
| 39 | |
| 40 | |
| 41 | def update_password(service_, password_): |
| 42 | command = ( |
| 43 | 'UPDATE STORE set PASSWORD = "' |
| 44 | + password_ |
| 45 | + '" where SERVICE = "' |
| 46 | + service_ |
| 47 | + '"' |
| 48 | ) |
| 49 | conn.execute(command) |
| 50 | conn.commit() |
| 51 | print(service_ + " password updated successfully.") |
| 52 | |
| 53 | |
| 54 | def delete_service(service_): |