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

fix: duplicate function name

parent 094fa9fc
No related branches found
No related tags found
No related merge requests found
...@@ -18,7 +18,7 @@ def be(): ...@@ -18,7 +18,7 @@ def be():
return output return output
@app.route("/hwinfo") @app.route("/hwinfo")
def be(): def hwinfo():
print("Restarting hwinfo-daemon") print("Restarting hwinfo-daemon")
output = subprocess.check_output(["bash", "-c", "./update_hwinfo.sh"], stderr=subprocess.STDOUT) output = subprocess.check_output(["bash", "-c", "./update_hwinfo.sh"], stderr=subprocess.STDOUT)
output = output.decode() output = output.decode()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment