Commit 6d065025 authored by Kristian Tan's avatar Kristian Tan

debug

parent cb396c02
......@@ -32,6 +32,7 @@ def main():
# The function below is executed when someone requests a URL with the pin number and action in it:
@app.route("/<change_pin>")
def action(change_pin):
print("CHANGE PIN IS HERE: " + change_pin)
change_pin = int(change_pin)
device_name = pins[change_pin]['name']
# if action == "on":
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment