diff --git a/auto-updater.py b/auto-updater.py
index 175ba5ab06b8c1170c981445cf663a16bea9e3c1..8e40aa914fd52164686665d82b1685db7bf4c9a5 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()