Update latch.py
Merge pull request #8 from naviprojects/patch-3

Update latch.py