Update getLetter.py

Fix conditional