()
| 19567 | |
| 19568 | if not update_result['ok']: |
| 19569 | return _update_response(update_result) |
| 19570 | |
| 19571 | _finalize_update(update_result) |
| 19572 | return _update_response(update_result) |
| 19573 | |
| 19574 | @app.route('/api/pwn/check-updates') |
| 19575 | def pwn_check_updates(): |
| 19576 | """Check for updates to the Pwnagotchi clone at PWN_REPO_PATH. |
| 19577 |