Commit 8dd4df0e authored by Kristian Tan's avatar Kristian Tan

scripting fix

parent 05703b64
......@@ -34,14 +34,9 @@
<p> Devices currently in use:
{% for pin in pins %}
{% if pins[pin].state == true %}
{% msg = pins[pin].name %}
{{ pins[pin].name }}
{% endif %}
{% endfor %}
{% if pins|length == 0 %}
{% msg = "No devices currently in use." %}
{% endif %}
{{ msg }}
</p>
<p> Used today:
......
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