Update revelation.py for issue #2

I suspect this is not the most elegant solution, but works for me.