Update lfpwToSigset.py

Fix syntax error when running in Python 3
while maintaining Python 2 compatability