Skip to content
Snippets Groups Projects
Commit b369bafe authored by Eunhak Lee's avatar Eunhak Lee
Browse files

fix: duplicate function name

parent 094fa9fc
Branches
No related tags found
No related merge requests found
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment