From b369bafe1773d6a457e7d67c60e6a9e0f929ddc6 Mon Sep 17 00:00:00 2001 From: Eunhak Lee <lee@enak.kr> Date: Sun, 8 Dec 2024 21:01:25 +0900 Subject: [PATCH] fix: duplicate function name --- auto-updater.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto-updater.py b/auto-updater.py index 175ba5a..8e40aa9 100644 --- a/auto-updater.py +++ b/auto-updater.py @@ -18,7 +18,7 @@ def be(): return output @app.route("/hwinfo") -def be(): +def hwinfo(): print("Restarting hwinfo-daemon") output = subprocess.check_output(["bash", "-c", "./update_hwinfo.sh"], stderr=subprocess.STDOUT) output = output.decode() -- GitLab