diff --git a/sweebot-dashboard.py b/sweebot-dashboard.py index a8e84aa..bd55bae 100644 --- a/sweebot-dashboard.py +++ b/sweebot-dashboard.py @@ -21,11 +21,6 @@ def block(): @app.route('/script.js') def script(): return send_file("script.js", mimetype='application/javascript') -@app.route('/reboot.run') -def reboot(): - os.system("systemctl --user restart sweebot") - wait(1) - return "" if __name__ == '__main__': diff --git a/sweebot.html b/sweebot.html index c260f63..48456ed 100644 --- a/sweebot.html +++ b/sweebot.html @@ -11,7 +11,6 @@

-