Commit 44af475d authored by Kristian Tan's avatar Kristian Tan

Added break

parent f90d6491
...@@ -189,6 +189,7 @@ def delete_pin(delete_pin): ...@@ -189,6 +189,7 @@ def delete_pin(delete_pin):
for key in pins: for key in pins:
if key == delete_pin: if key == delete_pin:
pins.pop(delete_pin) pins.pop(delete_pin)
break
template_data = { template_data = {
'pins': pins, 'pins': pins,
......
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